TTC Guilt for being overweight

As the title says.. I'm 26 and we're trying for our first baby, all I want is to become a mom but then i get struck with guilt of being overweight :( I am about 40 kg overwieght and I get anxiety thinking about how my weight can actually do harm to both me and the baby if I get pregnant. I don't really know what I want with this post.. Maybe someone feels the same or has felt the same and figured out a way to get past these feelings.