Erectile dysfunction (ED) is the inability of a man to achieve or maintain an erection sufficient for his sexual needs or the needs of his partner. Sexual dysfunction is common among males and females.