Erectile Dysfunction (ED) is when a man cannot get an erection hard enough for sex. This may affect self-confidence or cause. Undue stress in your relationships. Causes of ED can be medical or age-related – but many men have psychological erectile dysfunction.