Human: What are the best ways to treat an ear infection? Assistant: 
The best way to treat an ear infection is to get it diagnosed by a doctor and then prescribed antibiotics or other medications. You should also follow your doctor's instructions for taking the medication, including completing all of the recommended doses and avoiding any potential side effects. Additionally, you may want to try home remedies such as drinking plenty of fluids, using over-the-counter pain relievers, and applying warm compresses to ease discomfort.