The persistent difficulty for a man to get or maintain an erection hard enough for sex. The cause is most often physical but can occasionally be psychological. There are many treatments for ED.