Its natural, when we will take more calories and will not consume then definitely we will gain weight.
I had been very fat because of my imbalanced diet routine but later I got consumed with morning walk and exercise.
If you can not do this on daily basis then 30 min exercise,thrice in a week must be the part of your routine so you could save yourself from obesity.