Erectile dysfunction (ED) is the inability to get or keep an erection firm enough to have sexual intercourse. It’s also sometimes referred to as impotence. Occasional ED isn’t uncommon. Many men experience it during times of stress. Frequent ED can be a sign of health problems that need treatment.