How do I get rid of swollen eyelids?

Eyelid puffiness may vary from one etiology to another, for example
physiological eyelid puffiness should be treated with rest, reduced sodium intake and avoiding large amounts of water before bedtime
angioedema, infectious disorders of the eyelid which heal easily with standardised etiological treatment, such as removal of allergens, anti-allergy, or anti-infective treatment.
Eyelid puffiness due to visceral disease should be treated professionally in hospital to eliminate the cause.