Patients with ear pain while sleeping in a sleeper are mainly considered to have acute otitis externa or acute otitis media. Patients can apply ear drops of lomefloxacin hydrochloride or ofloxacin in the ear canal and perform ear bath treatment 2-3 times a day, which can effectively play an anti-inflammatory and anti-swelling role. Patients can rub the front and back of the ear by themselves to promote blood circulation around the ear, which also has a certain effect on pain relief. If the pain is unbearable, patients can consider taking oral ibuprofen capsules or loxoprofen sodium tablets for pain relief. If conditions are convenient, patients can also go to the rehabilitation physiotherapy department for physiotherapy baking treatment. After a week or so of medication, the patient’s condition should improve significantly. During this period, the patient must pay attention to the cleanliness of the ear canal and avoid water in the ear canal to avoid aggravating the patient’s condition.