Hi, Welcome to Health care magic forum.
As you describe, it may be due to the sluggish life, or increase in sleeping time. increase in calories and fats.
The increase in
anemia also may play a role in developing edema,and weight gain due to the edema.
I advise you to consult a physician for diagnosis and treatment.
Keep the weight under control by by cutting the calories, sweets, and fatty foods.
Practice morning walk,
yoga, exercises, and keep on working some thing, like doing any work in front of you.
Minimize the sleeping time, practice late to bed and and early to rise.
Wishing for a quick and complete recovery. Thank you.