Liviam the fail safe diet is great for this behaviour!

You need a diary to mark good and bad days. When it's a negative cycle it's hard to remember that every day isn't horrid.

Keep positive, don't take it personally.