The treatment of ear pain depends on the cause and condition. It can usually be relieved by medication, endoscopic treatment, and other methods. First, the cause of the ear pain should be identified. If the pain is caused by an ear infection (e.g. otitis media, otitis externa due to bacteria, etc.), it can be treated with topical antibiotics and, if necessary, with oral antibiotics. If the ear pain is caused by excessive cerumen in the ear blocking the external ear canal, it can be removed endoscopically by a professional ear, nose and throat doctor. If the cerumen lump is hard, local medication is needed to soften the cerumen and then allow it to flow out on its own or remove it endoscopically to avoid damage to the skin of the external ear canal. You should avoid water in the external ear canal when you have ear pain. If water does not quite get into the external ear canal, just suck it out with a tissue or towel at the mouth of the external ear canal, and avoid picking the external ear canal. You should also pay more attention to your diet, mainly a light diet and avoid spicy stimulation. In daily life, it is important to follow the rules of work and rest, strengthen exercise, eat a light diet and keep the ear hygienic. There are many causes of ear pain, so it is recommended to consult a specialist clinic as soon as possible to clarify the cause and then treat it with medication under the guidance of a doctor to ensure the effectiveness of treatment.