You're not an idiot. You did it and beating yourself up about it now won't make any difference.
Try to think about what set you off on the binge, without being critical of yourself. Were you hungry, bored, fed up, tired, stressed, happy, sad, feeling complacent? There is a reason for it and at...