Weight Gain

I am around 28 weeks pregnant and I have gained 22 lbs. is this healthy? Or have I gained too much so far? I still have 12 weeks left and my doctor said i need to slow down...

But idk how when my body won’t let me lol