You've hit rock bottom with the cookies. You ate the whole bag, the whole box. You've got crumbs on your face, on your shirt, on your keyboard. Welcome to Step 2.
Identify your triggers: Is it the sight of a fresh-baked cookie wafting from the oven? The sound of the bag tearing open in the pantry? Or is it something more existential, like the meaninglessness of life without cookies?