When I was a kid I always had the problem of thinking "this would be a horrible time to get a boner" and then quickly after I would start getting a boner and think "NO OH GOD NO NOT NOW WHY DID I THINK ABOUT IT" and it would slowly harden and get bigger and bigger. Luckily now I have mastered my boner and can summon and dismiss it with ease.