"Surprisingly, up until the 1980's, most sex experts held the Freudian view that weak erections were caused by deep-seated, unconscious neuroses or psychological problems," she explains. "This view has now widely been rejected by professionals in the field of sexuality and it's now understood that erection problems that stem from deep psychological problems are the exception, not the rule. A majority of weak erections are caused by a combination of sexual misinformation, relationship problems, depression and other life stresses."
Regular exercise and a diet rich in antioxidants is also the foundation of permanent weight control and diabetes prevention. Studies at the Duke University Diet and Fitness Center show that weight loss is strongly associated with better sexual function. Other studies show that diabetes is a major risk factor for ED, and that a healthy lifestyle prevents the disease and can restore erection function.
In an article on Men’s Health about things that wreck your erection, some examples of threats to an erection are sugar, lack of sleep, sleeping near a newborn baby, and lack of vitamin D. The common theme in the article is that reduced testosterone impacts your erection. Not all scientists agree with that. But there are definitely links between testosterone and erectile problems.