pregnancy weight. :(

I'm quite upset I stepped on the scale and have gained 8 lbs since being pregnant and I'm 18 weeks. I'm in the over weight category prior to being pregnant. I'm super worried and very self conscious as it is. it's killing me. should I diet? I don't want to put on unnecessary weight. 😓