There is no best way to get rid of edema. Edema can be caused by drinking too much water, kidney disease, liver disease, etc. You can combine the causes of edema and alleviate it by drinking less water, taking medication, and improving your sleeping position. 1. If edema is caused by drinking too much water before going to bed at night, it belongs to physiological edema, and you should control the amount of water you drink before going to bed. 2. If it is caused by the patient’s renal disease, also need to be treated according to the disease with medication, you can also use diuretic drugs, such as dihydrochlorothiazide, chlorthalidone. 3. If it is caused by liver disease, it needs to be treated according to the cause. If it is caused by the active replication of hepatitis B virus, it is necessary to use nucleoside analogs in time, such as entecavir, lamivudine and so on. If it is caused by autoimmune liver disease, it can be treated with drugs such as prednisone and methotrexate. Treatment should also strictly limit sodium and water intake to correct electrolyte disorders. If you want to avoid edema, patients must avoid drinking too much water at night before going to bed, but also to develop a good sleeping posture, so as not to sleep in an improper position on the local blood pressure caused by edema.