Ear pain is most likely caused by acute otitis externa or acute otitis media. In terms of treatment, to relieve pain, you can use levofloxacin ear drops or ofloxacin ear drops, which can effectively play an anti-inflammatory and anti-swelling role and relieve pain, and you can do ear baths three times, and the pain in the ear canal will improve significantly after three days of continuous application. If necessary, oral cephalosporin antibiotics can be added for three days. Before using the drug, it is necessary to clarify whether there is any history of allergy to cephalosporin to avoid allergic reactions, commonly used is cefdinir dispersible tablets. In ordinary life, patients should pay more attention to avoid frequent water ingress into the external ear canal or repeated digging of the ear with cotton swabs, which can stimulate the mucous membrane of the external ear canal and lead to the formation of otitis externa.