I’m going to give up on losing weight for awhile

I’ve maintained the same weight for over a month now, with no sign of ever losing weight again. Plus, I keep trying to eat healthy, and then pigging out on snacks like Hershey bars. It’s getting ridiculous. I don’t know why I’m in this self-destructive cycle and why I can’t seem to break out of the rut, but I’m tired of looking at my weight every day and seeing that I’m stuck.