diet while pregnant?

Alexis
So I'm a little over weight to begin with, and I'm about 6 weeks pregnant. I figured not just for me but for the baby I need to eat healthier. But is being on a diet bad for the baby? I figured if I got on one now I'd be use to it by the time the baby had arrived and I could continue it 
EDIT: as I stated. I'm over weight and I want to change how I eat that way by the time pregnancy is over I'll be use to eating healthier. I'm not trying to "diet" while I'm pregnant 🤦‍♂️