Erectile dysfunction, also known as impotence, is the inability to get and keep an erection firm enough for sex. Having erection trouble sometimes isn't necessarily a cause for concern. However, if erectile dysfunction is an ongoing issue, it can increase your stress, affect your confidence and lead to relationship problems. It can also negatively affect your sexual desire.