Weight gain

I'm 37 W + 3d and went from 136 to 184. I know I don't have much longer but I don't know what to do to keep the weight gain minimal the text 2 1/2 weeks :( from my 36 week appointment to 37 + 2 I gained 12 pounds but the midwife's haven't mentioned anything about it but 50 pounds seems like a lot.