Ear wax accounts for most ear discharges.
However, they may also be caused by minor irritation or infection. Ear wax serves as a protective lining for the ear canal. Taking warm showers or washing the outside of the ears with a warm, moist washcloth usually helps prevent the build-up of wax. A ruptured eardrum in a child who has been complaining of ear pain is often demonstrated by a white, slightly bloody or yellow discharge from the ear. Dry crusted material on the child's pillow is often an indication of a ruptured eardrum.