Weight gain

I am so upset about how much weight I’ve gained. 32 pounds and I’m only almost 32 weeks. :( what can I do to make sure I don’t gain anymore for the next 8 ish weeks. I’m soooo hungry all the time and I try to ignore it but then I feel sick to my stomach. ☹️ it’s so frustrating. I’ve been trying to walk more but it also causes so much pain in my lower parts.