The first stage is, you have identified you have a problem - so well done.
You now need to work out a plan that will help resolve this.
Take each day at a time. eat half a cake, one biscuit, half the chocolate. It will be hard, but one step at a time.
Write a diary of EVERYTHING you eat so that you have hard evidence to review.
Introduce one healthy meal a week, then build it up to two, three, seven, 21 over a period of time.
You have to do this for you, not what anyone else says. Ask your doctor to check your health status, bloods, cholesteral, bp, iron etc so you have a starting point. Get his help. They can give you diet sheets and monitor your weight every week. They can help.
I expect you are eating because you are unhappy, stressed, worried, and this is making it worse.
I have just had the biggest shock of my life with my health. You dont know what is around the corner and you have to help yourself now. For your own sake as well as your child.
Ask questions, talk, chat to people instead of eating, people will want to help you if you want to help yourself.
Good luck and take care