I need some advice on this weight gain. 17 weeks 3 days

I always struggled with my weight. I finally hit my dream weight of 147lbs and I'm 5'8". And then another bleesing happened and I received my BFP and me and my husband was over the moon. Well today I am 17 weeks 3 days and now weighing 170lbs. I don't know what to do. I only eat once a day and I don't eat a lot. Lady's I don't know what to do. I love my little girl so much and so happy she's growing. But she doesn't weigh 20lbs. So it's me that's gaining the weight. I need some advice.