Perhaps a mantra to recite in the mornings and at each temptation would help?

I always imagine my conscious sitting on my shoulder telling me 'it's not worth it!'. Sometimes it works!

Good luck. Beating yourself up about it will only set you further backward. Now is a new start (not tomorrow... NOW) and each slip is simply a stumble - not a stop.