Erectile dysfunction is a common condition where a man cannot get or maintain an erection firm enough for sex. It affects as many as 30 million men in the United States. There are several treatment options available to help manage erectile dysfunction including medications, counseling, lifestyle changes and surgery in rare cases.