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…. Not all male sexual problems are caused by ED.