Erectile dysfunction, also known as impotence, is the inability to get and keep an erection firm enough for sex.