The bottom line Most ear infections are caused by viruses and can clear up on their own with rest, self-care, and OTC pain relievers. But antibiotics are necessary if bacteria are causing the ear infection. Amoxicillin is the go-to antibiotic for treating ear infections in adults and children.