Make sure that you do not keep 'trigger foods' (foods that you can't stop eating once you start, usually due to some emotional upheaval). I used to allow myself graham crackers as a healthy snack (portion control). BUT, I found I would overeat them when depressed or upset... so I stopped buying them immediately. I may bring them back if I can gain control over myself.
If you have a "trigger food" or binge item, one thing that helps me is to decide only to eat one type. I'll have a small serving of strawberry ice cream but say no to every other flavor or brand, just to keep from eating it except as a special "treat." Make a decision it is not worth it unless you have your choice - choose to say no otherwise.
Hold tempting trigger food close to your face and smell deeply for 60 seconds. Your olfactory system will stop responding to the scent resulting in a decrease in the craving. Repeated over time the trigger will lose it's control.