Obsessing over your failure will not change the outcome. In fact, it will only intensify the outcome, trapping you in an emotional doom-loop that disables you from moving on.
You cannot change the past, but you can shape your future. The faster you take a positive step forward, the quicker you can leave these debilitating, monopolizing thoughts behind.