first of all: everything is not ruined!
...Yes you messed up, yes you went off plan, yes you may have gained... but look at it as a learning experience. There are consequences for every action and sometimes we have to be reminded of that to stay on plan in the future. Just realize your mistakes, man up, stay focused from today on, and weigh in. Whether you've gained, maintained or lost, you'll have to face it some point and really sometimes we have to remind ourselves it's just a scale