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.
Due to the overuse of antibiotics for this condition, however, the rate of antibiotic-resistant infections has increased in recent years. As a result, recommendations released recently by the American Academy of Pediatrics discourage the use of antibiotic medications for most ear infections in children.