Due to childhood events, I suffer from PTSD-related depression and anxiety. Currently, because of the life-changing impact of two recent major breakdowns, I am finding it difficult to avoid binge drinking. Even though my problem is different, there are three things which can sometimes help me and are, I hope, more generally applicable.
Firstly, someone once told me that, for binge drinkers, it's the first drink that gets you drunk. Maybe this could be reframed to be a helpful reminder for other types of binging?
Secondly, before every temptation to binge, take a few minutes to write down your mood and dominant thoughts. Doing that may well help you to better understand all your triggers which, in turn, can help you find ways to defuse your emotions and resist temptation.
Thirdly, try not to beat yourself up about the things you've already done, and which can't possibly be undone. I suspect many of us struggle to treat ourselves with compassion and gentle kindness - I know my inner critical voices are those that, by right, belong to the people who always criticised me when I was young - but we need to work towards accepting that we are all imperfect and we all deserve a decent, happy life, free from unjustified self-criticism. So don't waste energy beating yourself up over the past; try to let go of it so you can use that energy to strengthen you in the future.