Erectile dysfunction (ED) is the inability to get or keep an erection firm enough for sexual intercourse. While it's common to experience occasional ED, frequent or persistent problems can affect relationships, self-esteem, and overall health. ED is often a symptom of an underlying physical or psychological condition and is highly treatable.