Why are you choosing to eat these things? Are you trying to fill a need that's not being met elsewhere? For instance, out of boredom, depression, anger, stress or sadness? Or are you perhaps restricting your diet too much which is causing your body to want to binge on high calorie treats?
Maybe rather than cutting out 'bad' foods you should concentrate this week on adding in 'good' foods. So don't worry if you have some chocolate cake as long as you also have a salad or some fruit. If you have a chocolate bar just ensure you have some healthy vegetable soup later as well. If you start focussing on the healthy, nutritious foods rather than the high calorie ones your subconscious starts thinking about them more, at least in my experience. And you actually end up craving healthy food instead of bad stuff!
Don't be too hard on yourself. We all have good days and bad days! The trick is to find out what causes both and try to put plans in place to maximise the good days!
Stick to it. I know you will get there!