Understand your triggers and avoid them, break the habit/cycle.
I've binged behind closed doors since I was around 8 and the school/my parents made a big deal about me putting on weight. My weight ballooned in the following years as I'd go "underground" so teachers/parents couldn't see what I was eating. That "habit" continued into my teens, then into my adult life. In "public" around family, friends, etc I ate normally, but as soon as I was behind closed doors, the crisp/chocolate multipacks came out of the cupboard and soon disappeared!
I got a job with an hour's drive each way, and would stop at 2 or 3 petrol stations each direction to buy chocolate, sandwiches, crisps or pork pies etc - nothing to do with hunger, just habit/boredom.
To cure the latter, I initially changed jobs to be a lot closer to home - shorter journey, fewer opportunities to stop to binge!
To cure the former, I just forced myself not to buy the crap in the weekly supermarket shop - I just trained myself not to buy multipacks etc - however much I told myself I'd only eat one, I knew, when I was buying them, they'd all be gone in a single binge.
The past couple of years were pretty good. I lost a stone or two by removing the temptation/opportunity. Of course, I fell off the wagon many times, but rather than beating myself up and comfort eating, I trained myself to "forgive and forget" myself - draw a line under the bad days and move on.
Covid has made a massive improvement. I simply don't go shopping anymore as we're shielding. So we only order what we need via home delivery once a week. It's a real game changer to have what you're buying written in front of you on your screen, and there's the "cooling off period" between placing the order and the last edit opportunity where you can delete the "naughties" so you lose that "instant gratification". As things stand, I'm already 2 stones lighter due to covid and wight is still falling. I'm really fearful about getting back to normal and just hope that I've got enough willpower to avoid going back to the old ways.
As for doctors/dieticians, etc., I really wouldn't waste my time. I've seen 2 or 3 dieticians and mentioned my binging to several doctors over the years. They're not interested and don't know how to deal with the issue and don't know who to refer you to. The last GP I mentioned it to a couple of years ago (the practice diabetes specialist so must be familiar with eating disorders), glibly suggested I search Facebook to see if there was a binge eating group I could join!