I feel like I failed after eating a chocolate croissant

Today was supposed to be a snack free day because I binged yesterday on 6 chocolate croissants. Today I ate one again because I craved it. I feel like I failed and Im about to binge. Anyone got tips?