I call them my "WTF are you doing!" meltdowns. A lot of 'grow up', 'you are being stupid', 'This makes no sense' etc. intermixed with equal doses of just plain beating up on yourself with things like 'you know you'll never be happy', 'there is something wrong with you', ect.
Guilt and Shame are powerful forces especially when combined with low to nonexistent self-esteem. That light you see at the end of the tunnel is always a train. If there is anything I am great at it is beating up myself.
To counter it all (which tended to last from hours to WEEKS!) I developed a sort of affirmation. By nature I am a very good problem solver and have a pretty good ability to 'What if' things to death to design and fix things for which I get well paid for. Unfortunately, these superpowers only seemed to work on anything other than myself. In fact, I perhaps could not have a worseer outcome listening to myself.
Aside from one common thread. "I know what does not work". Which pretty much is everything I tried for the a good 40 years to deal with being me. When I get into a WTF funk I constantly remind myself of that. Followed by all the positive things I've seen starting to happen to me and my life.
I think so much of this has to do with such an inherent belief of "I am Bad", aka Shame. A bad, evil, sick person, does not deserve any good things. When we start realizing good things are happening our brains smoke, shame coupled with fear of the unknown join forces for the beatdown.
It does get better. It takes a lot of hard work to shake those two old friends, Guilt and Shame. After 3 years on this journey with some pretty intense self-triggering death spiral meltdowns I haven't really had any for a good year or more. The only times have been related to my wife and the effect all this has on her. Yet again, I do trust her and truely believe it, when she says how much better I am for taking this trip and how much more she loves me now that the real me is breaking out of its hardened shell