Is it okay to cheat on a diet once in a while?

I am on a diet and I sometimes (rarely) "cheat". Meaning I sometimes on weekends eat a pizza or drink hot chocolate or so.
Is this never going to get me to my goal or is it okay?
Thank you in advance :)
9 answers 9