An ear infection (acute otitis media) is most often a bacterial or viral infection that affects the middle ear, the air-filled space behind the eardrum that contains the tiny vibrating bones of the ear. Children are more likely than adults to get ear infections.
Ear infections frequently are painful because of inflammation and buildup of fluids in the middle ear.
Because ear infections often clear up on their own, treatment may begin with managing pain and monitoring the problem. Ear infection in infants and severe cases in general often require antibiotic medications. Long-term problems related to ear infections — persistent fluids in the middle ear, persistent infections or frequent infections — can cause hearing problems and other serious complications.