Repression was my main mechanism. I focused on doing everything I could to be more manly. I got to the gym and bulked up big time. Grew a mustache and goatee and shaved my head. Bought a Harley, wore muscle shirts, went deer hunting, basically anything I could do to "feel" more like a man. I got really good at it. I was a pretty imposing figure. My kids' friends thought I was scary, guys didn't mess with me in bars and so far everyone I've come out to has told me how shocked they were and how they'd have never guessed in a million years that this was me.
I found crossdressing in private to be somewhat helpful. Getting out on an occasional Halloween helped to. Much like Dee mentioned, I also focused heavily on putting others' needs before mine. For 25 years, since we met in High School, I've done everything I could to make my wife happy, sometimes at the expense of my own happiness or comfort. Same with my friends, I never wanted to be the one that was asking for something, I always wanted to be the one offering to help.
That last bit is part of what is making it so hard for me now. It's a tough pill to swallow when my therapist says I need to focus on self-care. I feel sometimes like I'm being selfish even though my wife and my family all tell me I have to do what is right for me.