About age of 20 I suddenly became unable to pee in urinals. Can't pee in aircraft toilets either or anywhere I feel like I'm under scrutiny in some way. I've endured what felt to me like severe physical pain on long haul travel. I can't persuade my subconscious to let me pee even though I really want to.
No idea why this happened to me, having previously had no problems whatsoever. The only thing that I can think of was getting a gay approach at about that age but I can't say that was the cause of it though I think it might have been.
I also have trouble with this. It helps if I pretend that I'm somewhere else, where I'd be comfortable doing my business. I think, "I'm at home, in my own bathroom. I was playing a video game and I paused it to take a quick leak."