There are several possibilities for a swollen eyelid after a good night’s sleep: 1. The most common is mydriasis. It is an acute purulent inflammation of the eyelid. You can apply a hot compress 3 times a day for 10 minutes each time and apply levofloxacin eye gel to the redness 3 times a day. You can take oral anti-inflammatory medication and if small pus pockets form after 2-3 days you need to go to the hospital to incise and drain the pus. 2. Eyelid allergy, which is caused by an allergic reaction. The performance has eyelid swelling, itching need to find allergens, away from allergens, you can apply tobramycin dexamethasone eye ointment. 3, mosquito bites. Mosquito bites can appear as swollen, itchy eyelids, and red bumps at the bite can be applied wet with tobramycin and dexamethasone injections to reduce inflammation and toxic reactions.