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.