If you were "dieting", that would feel like a screw-up but if you were making a "lifestyle change", ice-cream once in a while is ok. I used to diet, now I live a healthy life and guilt from eating ice-cream does not make me go on a bender anymore. You will be ok.
Tip: Eat Breyers low carb ice-cream if you are on Atkins