The painful swelling of the upper eyelid, if it is red, swollen and painful, is usually caused by a whealsore, which is divided into internal and external whealsores, and is an acute inflammation of the glands in the eyelid area, commonly known as the “eye of the needle”, which is characterized by painful, red and swollen eyelids, and the inflammation lasts for a long time. It is recommended that patients with blepharitis go to the hospital for an examination to clarify the diagnosis and then take local anti-inflammatory treatment, along with hot compresses to help the inflammation dissipate and recover, and the swelling and pain will disappear on its own after the inflammation dissipates. The swelling and pain will disappear on its own after the inflammation dissipates. If there is spontaneous breakage, it will leave a scar and affect the beauty. If the swelling and pain in the eye is very serious and has affected normal life, it is recommended to go to the hospital to reduce the swelling, and in serious cases, surgical incision and drainage can be performed. If the eyelid is red, swollen and painful due to fire, you can take some anti-inflammatory drugs or Niuhuang anti-inflammatory tablets, which are useful for the dissipation of inflammation. Usually, swollen and painful upper eyelids are caused by the above two reasons, at the same time, we should pay attention to protect the eye hygiene in daily life, and pay attention not to touch the eyes and swollen and painful locations with our hands. At the same time, it is recommended to eat a light diet and avoid spicy food to stimulate the inflammation.