Jun 10, Learn about causes and effective methods of reversing ED here. with conditions such as diabetes and atherosclerosis to get erections. The good news: ED is one of the most treatable complications of diabetes. In fact, over 95 Medications: About 25 percent of ED cases are caused by drugs. May 7, WebMD explains how diabetes may cause erectile dysfunction -- and what can be done about it.