I'm 9 weeks

Brittanny
And I feel like I've already gained a ton of weight. I'm not allowed to exercise due to being high risk just walking but not fast or for long distances. I was told prob around 20 weeks I'll be in bed rest how do I control my weight gain