Managing shameful thoughts

Doing the homework assignments has made me realize that I avoid taking action because I’m afraid of proving my self-critical thoughts true. If something doesn’t work out, I’m afraid I’ll use that as evidence to reinforce a belief that I’m not good enough or that there’s something wrong with me. I want to handle any emotion that comes up, but I also don’t think I should be causing myself so much shame all the time that I need to handle. Do I focus my work on models to change those self-defeating thoughts? Thanks.