Weight gain

I was just told by my doctor that I'm gaining weight too fast. And that I need to slow down and watch my portions. I'm currently 6 months pregnant. This is me on the left. I started off 111lbs and I weighed in at 132 today. Should I be worried?