Like said, don't beat yourself up. Draw a line under it and start again. It won't affect your weight loss too much.
Also what I find useful when I REALLY want to eat something is stop before I do so and write down how I'm feeling at that moment and why I want to eat it and how eating will affect me. It helps me to stop reaching for the biscuit tin.