Erectile dysfunction, or impotence, is the inability to achieve or sustain an erection that is suitable for sexual intercourse. It can be caused by medications, chronic illnesses, poor blood flow, drinking too much alcohol, fatigue, smoking, injuries, obesity or clogged blood vessels. Different factors can worsen erectile dysfunction, including depression, anxiety and stress.