When my nocturnal erections are painful, I find that it helps to get out of bed and focus on something else. I personally sit on the toilet...