You can't change the past but moving forward you do learn from the past. Karma will balance on its own. It kicked me in the butt. Don't beat yourself up over it, but my read is that you already know that it was not the best move.
Maturity works wonders! You will be just fine.