The ear pain caused by the pressure of the legs of the glasses is considered to be the pressure of the legs of the glasses on the local area, causing the local blood supply is not good. You can change to lighter glasses and apply anti-inflammatory ointment, such as compound polymyxin B or erythromycin ointment or even Pepto-Bismol, to reduce the local inflammation. If there is obvious localized swelling, you can also take oral anti-inflammatory drugs such as cephalosporin or azithromycin. Localized rupture caused by the leg of the eye pressing on the ear or rubbing the ear may also cause this condition. If you notice a breakout, try not to wear your glasses anymore and you will need to replace your contact lenses. Treatment can be topical disinfection with alcohol or povidone-iodine to avoid contact with the breakout. In addition, if there is obvious localized discharge, especially yellowish discharge and crusting, consider that eczema has caused a localized infection, and the infection of eczema may also cause ear pain.