Ian
Anxiety can effectively turn off the sexual response. Fear, worry, call it what you will - about losing your erection actually stimulates a man's level of nervous system activity so that he is actually somewhat more likely to lose it! So relaxation can help to reduce one's nervous and emotional arousal during sex and may be an answer.