Try to figure out what went wrong.
Understand what you should've done.
Take the important knowledge with you.
Lay the event to rest behind you.
Bring your new self, armed with more knowledge, into the next fight and don't let past events bring you down.
You can't change what has happened, but you can change what's happening.