Weight gain is caused by several reasons such as an extended decrease in basal metabolic rate, low energy, and increased food consumption, possibly due to limited estrogens or mild depression symptoms.

That is why proper diet is necessary, as it seems to play an important role in the prevention and cure of several of the above-mentioned issues.
This can be countered with a slightly reduced energy intake by 200 calories along with a parallel increase in physical activity.