It seems like you have some endocrinology problem associated like pls get your thyroid profile checked along with fasting and post prandial sugar levels to rule out developing diabetes
as weight gain could be due to either of them....also recurring fungal infection
may ght be due to decreased immunity as well as some immunity weakness ....consider the opinion of an endocrinologist
.also it looks like you have polycystic ovaries
which is causing weight gain as well as heavy bleeding after amenorrhoea. ...get your fasting insulin levels as wrll as fsh lh level checked along with lipid profile
for ruling out a condition known as syndrome x....which causes all the problems you r currently having.