You dont really
This crusting generally comes from tears that pool while sleeping.
The tears accumulate more in a closed eye
(and in babies drain less easily) and dry out and crust. This is common in babies and is technically not a problem. Wipe the crust with a warm washcloth in the morning and this will improve as the child ages.