Depression
Up to nine out of every ten men with depression may also have problems with their erections.
Kidney or liver disease
Men with kidney disease can have problems getting and keeping an erection, as can men with liver disease. These diseases affect a range of body functions, including erections.