Hello,
What your going through must be tuff. I hope your talking to your friends and family about your less fortunate mistake. Talking it out helps relief some pressure from yourself.
Another way of thinking is that, this mistake happened in order to have avoided a bigger mistake.
Changing your perspective will help and I know you can do it.