When a man has ED (erectile dysfunction), he may not be able to get an erection that's hard enough for sexual intercourse. Or he may have difficulty keeping an erection until the end of sexual intercourse. ED is sometimes called impotence. Many men have erection problems every once in a while. But with ED, problems happen again and again.