I don't know if you exercise much but that's my saint grace. I LOVE working out, the endorphins, the sweat, the confidence it gives me vs. putting thigs in my body just because I'm bored.
If I eat something I shouldn't, I work it off or ill work it off twice.
If I'm feeling bore and like eating for no reason, ill go for a walk, ride my bike, do some jumping jacks, etc. get AWAY from the food. Sometimes I'll Also go so a load of laundry or kind some housework that needs to be done. Or get a glass I tea sweetened with stevia. Works for me.
Otherwise, I think of weight watchers. All FRESH fruit and vegetables are zero points. That's what I eat when I'm experiencing head hunger and feeling weak.
If its crap that you're eating, can you get the crap out if your house?
Are you tracking what you eat? That helps a ton for me too.
All that said, I am NOT perfect. Ive screwed up. There was a Cadbury egg incident. And others.