Treatment of upper eyelid swelling is based on its cause and the cause of the swelling needs to be identified first.
If the symptoms are caused by nephrotic syndrome, then prompt diuresis is needed to reduce the swelling and try to stop protein loss, so diuretics or ACEI/ARB drugs can be taken as appropriate. Also hormones and immunosuppressants are key to the treatment of nephrotic syndrome and care should be taken to treat the condition with medications such as glucocorticoids as prescribed by the doctor. If it is caused by mydriasis, it will need to be treated with antibiotic drops and, if necessary, surgery to drain the pus.