Other factors that can contribute to erectile dysfunction include:  Injuries to the penis or pelvis. Liver disease. Nephritis. Operations in the pelvic area.