Weight gain?!

Hi. I'm 27 weeks today. I have hypothyroidism. At my 6 week appointment I weighed about 150lbs. Now, at 27 weeks I weigh about 175. I'm so down and depressed about it. No matter what I eat or how much I walk i just gain weight :.( anyone else have this issue?