If a baby has gunky eyes, a parent or caregiver may be able to treat the symptom at home by gently wiping the area with a cotton ball or cloth and lukewarm water. However, it is important to contact a doctor, as medical treatments may be necessary if it is due to an infection or other underlying cause.