Well you definitely got VERY lucky. Yes lucky that you didn't hurt yourself or someone else, but also because you escaped the obvious legal consequence. Maybe look at this as a wake up call from a power greater than yourself. I also escaped some very sticky situations but that doesn't continue, believe me.
So I tend to awfulize situations. Look at the what ifs, the past, the OMG yikes etc. I try now to look at what IS. Stick to the facts, then take action...not wallow. Focus on what I can control (myself, my choices, my actions, my reactions) and let go of what I can't. And most importantly be grateful that I'm being given a chance to become a better person. Mistakes aren't so bad if I learn from them and change.