I believe in short answers. As someone who has managed to blow up his life more than once and come back better and stronger, I think I can speak to this. You 1st have to acknowledge you are human and make mistakes. Deal with your feeling rather than avoid them. Take responsibility for your actions and yourself. Learn from your experience. You have no reason to feel ashamed because others have walked your path before you and will again and again.
Reach out for help. It is there if you look. We all need support and help at some time in our lives. Know that your present circumstances will not last forever. Create reasonable goals and focus on what is right in front of you rather than the past or future. Hope this helps someone.