Weight and pregnancy?

Bridget

So I’m nearly 6weeks pregnant but I also weigh 220 pounds im pretty tall 5/9 so the weight doesn’t really show that much but my question is how do I make sure I won’t gain a lot of weigh like how can I keep myself healthy so I don’t get up to 270 to 300 pounds that like my most fear cause my last pregnancy that I miscarriage with I gained 90pound in two months and I lost like 25 pounds from that and it was very hard to get the rest off and I couldn’t find a way to do... and I’m also at high risk with this pregnancy so I can’t do a lot of excises any advice ladies?