‘Sticky eyes’ are common in newborn babies and young children while their tear ducts are developing. You may see some sticky stuff in the corner of the eyes or their eyelashes may be stuck together.
It normally clears up on its own, but you may have to clean your baby's eyes regularly with damp cotton wool. Use clean, cooled boiled water.
Wipe each eye from the corner by the nose outwards. Use a clean piece of cotton wool for each wipe. Remember to wash your hands before and afterwards and avoid sharing towels to prevent spreading infection.
Some babies have watering eyes. Massaging the tear ducts may help to dislodge tears that have collected in the upper part of your baby’s tear duct, as well as encouraging the tear duct to develop. This can be done by applying light pressure with your clean, index finger and massaging from the corner of your baby’s eye towards their nose.
Repeat several times a day for a couple of months. If this persists past one year, your baby may be referred to an eye clinic for treatment.
Source NHS choices