How to stop binge eating?

Long story short I suffered with bulimia for about 3 to 4 years. Never got treatment so I stopped purging but never fixed my eating habits so I still ate very little for a couple days and then binged a ton when I felt too hungry . I ended up gaining 71lbs in a short amount of time.

I really need advice how to stop binge eating.

I've been working out and eating frequently but it's just sometimes I get anxiety attacks at night and run to the kitchen and binge. I thought I had gotten through this but clearly I haven't. So if any of you have any way that could help me please let me know.