You need to be very kind to yourself and take baby steps to get back on an even track - in every way. Tips that helped me at a similar stage in life when comfort eating had piled on a few stones and I didn’t know how to begin to break the entrenched habits:
1) Eat an apple, an orange and a banana every day as a priority - whole or chopped up or however you fancy. Then eat whatever else you want. These will give you lots of vitamins, minerals and fibre and gradually will help you and your body to feel better. As you feel better in yourself you may find you want to start generally eating more healthily as you like how it makes you feel.
2) Drink more, even a pint a day more than you are drinking now. I found the best way was to make up some very diluted no- sugar squash in a drink bottle, leave it on the kitchen counter and sip it gradually through the day.
3) Go out for a walk every day, rain or shine. Initially, I literally did five minutes - two and a half down the street and then back and gradually built up from there.
4) Do something you enjoy every day. I did two things - started keeping a five year diary with just a couple of lines for each day to record my private thoughts, good or bad. Secondly, I started using nice-smelling (needn’t be expensive) body lotion on my arms and legs each day. My skin soon looked and felt much better and gave me a real boost, just for me.
None of the above put too much pressure on you and don’t have to done all at once, you could start with one and gradually work up but cumulatively and over time they bring their own form of comfort as you start to feel better and more positive about yourself. You can, in time and if you want to, develop each of these but to start it will suffice.
Can’t comment on any medical issues but a visit to your GP may be a good thing to do anyway.
I wish you well and hope this helps x