To overcome shame and guilt ...

Do not allow results and status to define you or your worth.
Whatever the outcomes, you are still a worthy human being.

Here is a powerful exercise, a thought experiment. If you had been sentenced to death, how would your father, mother, Mother Theresa or Lord Buddha appeal on your behalf? What good things will they say about you, to the judges and the jury?

Can you use their pleas to feel more self-compassion? Can you forgive yourself, like those great and beautiful souls?