If you're getting shinsplints, you need orthotics and proper shoes/trainers/running shoes with removable insoles so you can put orthotics in them that support your feet, as it's the dodgy positioning that's causing the damage.
I'm on the waiting list for NHS ones as I've got Psoriatic Arthritis, but you can pay to go to a private podiatrist (or physio) and, in the meantime, around twenty pound on Amazon will get you something that will help - you will need one that provides metatarsal support as well as arch support and a 'heel cup' to stop your feet moving around inside the shoes.
Other things you can do to help it heal are to ice the area and gradually exercise to increase flexibility and strength of your leg and foot muscles. Looking at your gait (the way your foot strikes the ground, whether weak muscles in your back/hip/thighs are causing a knee to turn in, etc) is also very useful, as is checking your posture generally. The exercises also help you develop awareness of what your body is doing - which is very useful in developing awareness of what you need to eat/whether you're doing it to punish yourself, warm up, swallow down anger or fear, etc, etc.
I'd suggest just logging what you eat. No judgement. Just record it accurately. You'll be able to see over time if you overeat if you don't have enough protein earlier in the day, whether there's a hormonal aspect, if you tend towards mega pasta dishes towards the end of the week when you're tired from work, if you automatically eat less on one day if you have more vegetables and protein the night before or whether having a high carb breakfast/skipping it altogether triggers a craving for more and more carbs/fat.
And maybe then, once you see what's there, you might think 'Hmm, do I actually want x? No, I'd rather have y - and it'll be 400 fewer calories as a bonus' or (in my world) 'Do I want chips and onion rings/tons of mayo/a small donner/can of coke? Actually, I want a large shish with chilli sauce and all the salad'. And sometimes, as I also use a fitbit, I can see I've been massively active and can eat a bit more without overdoing it, rather than feeling hungry after eating and then possibly kicking off a cupboard and fridge raid at 9pm because I am still hungry.
I get on well with calories in vs calories out. Sometimes I eat high carb, sometimes low carb, sometime high/low fat. And sometimes, whilst I am getting the hang of eating regular meals for the first time, I will do a stint of one (or two) meals a day instead, as that means I don't feel any guilt or worry about having higher calorie meals if I really, really want a chip shop meal.