Weight loss

I need some advice on weight loss. I wanna have a kid, but I am definitely not eating the right foods and I think I should lose some weight. But I also don't wanna give up some sweets.. Should I eat what I want but very strict on the calories, or should I just do a diet.? Help!