You need to have netter food available.
Do not go hungry just make better choices. Binge on carrots, binge on apples! best not to buy any junk food and best not to bring it into your home especially if you feel "weak" about eating it. Hang out with healthy people as social networks reinforce behavior, hopefully healthy behavior.