I assumed you held yourself to a higher standard, but my suggestion is rooted in cognitive behavioral therapy. It is possible to change your internal dialogue. You have to, first, be aware of your current dialogue. Then you have to practice, practice, practice challenging that dialogue with a new one. I'm oversimplifying of course, but with time and practice, you can change patterns of thought.
That aside, I hate to hear you being so hard on yourself. From what you share of yourself on TE, you sound like a pretty amazing person.
Live with intention. Walk to the edge. Listen hard. Practice wellness. Play with abandon. Laugh. Choose with no regret. Continue to learn. Appreciate your friends. Do what you love. Live as if this is all there is.
--Mary Anne Radmacher