The general medical history is important in identifying specific risk factors that may account for or contribute to the patient's erectile dysfunction. These include vascular risk factors such as hypertension, diabetes, smoking, coronary artery disease, peripheral vascular disorders, pelvic trauma or surgery, and blood lipid abnormalities. Decreased sexual desire or history suggesting a hypogonadal state could indicate a primary endocrine disorder. Neurologic causes may include a history of diabetes mellitus or alcoholism with associated peripheral neuropathy. Neurologic disorders such as multiple sclerosis, spinal injury, or cerebrovascular accidents are often obvious or well defined prior to presentation. It is essential to obtain a detailed medication and illicit drug history since an estimated 25 percent of cases of erectile dysfunction may be attributable to medications for other conditions. Past medical history can reveal important causes of erectile dysfunction, including radical pelvic surgery, radiation therapy, Peyronie's disease, penile or pelvic trauma, prostatitis, priapism, or voiding dysfunction. Information regarding prior evaluation or treatment for "impotence" should be obtained. A detailed sexual history, including current sexual techniques, is important in the general history obtained. It is also important to determine if there have been previous psychiatric illnesses such as depression or neuroses.
Thanks for your question, Frightened Turtle! To help answer it, we spoke with Dr. Darius Paduch, urologist and male sexual medicine specialist at New York Presbyterian/Weill Cornell Medical Center, and sex therapist Jenni Skyler, Ph.D., director of The Intimacy Institute for sex and relationship therapy in Boulder, Colorado. Here's what they had to say:
The lab testing obtained for the evaluation of erectile dysfunction may vary with the information obtained on the health history, physical examination, and recent lab testing. A testosterone level is not necessary in all men; however, a physician will order labs to determine a patient's testosterone level if other signs and symptoms of hypogonadism (low testosterone) such as decreased libido, loss of body hair, muscle loss, breast enlargement, osteoporosis, infertility, and decreased penile/testicular size are present.
Vascular damage may result from radiation therapy to the pelvis and prostate in the treatment of prostate cancer.  Both the blood vessels and the nerves to the penis may be affected. Radiation damage to the crura of the penis, which are highly susceptible to radiation damage, can induce ED. Data indicate that 50% of men undergoing radiation therapy lose erectile function within 5 years after completing therapy; fortunately, some respond to one of the PDE5 inhibitors.
Diet can also affect a man’s ability to achieve or maintain an erection. As stated, men who indulge in alcohol may have trouble with erections, but men who have poor diets, suffer from diabetes, or who are overweight can also restrict blood flow to the penis or suffer from poor body image. All of these factors, especially when combined, can lead to erectile dysfunction.
In many cases, diagnosing erectile dysfunction requires little more than a physical exam and a review of your symptoms. If your doctor suspects that an underlying health problem may be at play, however, he may request additional testing. Once you’ve determined the cause for your ED, you and your doctor can decide on a form of treatment – here are some of the options:
Between 10 and 88% of patients diagnosed with cancer experience sexual problems following diagnosis and treatment. The prevalence varies according to the location and type of cancer, and the treatment modalities used. Sexuality may be affected by chemotherapy, alterations in body image due to weight change, hair loss or surgical disfigurement, hormonal changes, and cancer treatments that directly affect the pelvic region.
The main medical causes of erectile dysfunction are based around poor blood flow (due to furring of the arteries thanks to raised cholesterol or high blood pressure), poor nerve supply caused by diabetes-related nerve damage, or low testosterone as a result of obesity, old age or failing gonads. We doctors get just as concerned with men who have variable erections as well as those that can't get an erection at all. Failing to get an erection occasionally is pretty normal as you get older. But if you have unreliable erections for a prolonged period of time – more than six months – this could suggest an early sign of physical problems such as cardiovascular disease or diabetes which could develop further so get yourself checked out.
How soon the drugs start working ranges from 15 to 60 minutes. Neither Viagra nor Levitra will work if you take them after a meal, which blocks their absorption. However, neither Cialis nor Stendra interact with food this way. The onset time determines how soon you can engage in intercourse. Stendra and daily-use Cialis are closest to being an "on demand" erectile drug; using the others requires more planning.
Relationship problems can make it difficult for you to get or stay hard when you’re attempting to have sex with the person you’re in a relationship with. However, if you have this problem and you’re in a relationship that doesn’t mean your relationship is necessarily the reason. There are lots of other reasons you might not be able to get or stay hard (see above).
It's definitely possible that your boner isn't cooperating because it's not really thrilled to be there. Maybe you're not sure about this partner, you're worried about pregnancy or STIs, you're not feeling comfortable with an unfamiliar hookup, or you typically need some other kind of stimulus to get in the mood. It's always worth checking in with yourself to see if one of these factors might be holding you back in bed, says Skyler. If you have a hunch that it's because you're doing something you don't want to do (or you're not doing something you do want to do) pay attention to that hunch.
Prevention of some of the causes that contribute to the development of erectile dysfunction can decrease the chances of developing the problem. For example, if a person decreases their chances of developing diabetes, heart disease, and hypertension, they will decrease their chances of developing erectile dysfunction. Other things like stopping smoking, eating a healthy diet (heart healthy with adequate vitamin intake), and exercising daily may reduce a person's risk.
Concerns that use of pornography can cause erectile dysfunction have not been substantiated in epidemiological studies according to a 2015 literature review. However, another review and case studies article maintains that use of pornography does indeed cause erectile dysfunction, and critiques the previously described literature review.
#6 It’s performance anxiety. Many men suffer from performance anxiety, and that’s another reason you can’t get hard. Simply put, you’re too nervous to get your dick up. And that’s okay, it happens! This is likely to happen if you haven’t had sex in a while or if you’re starting up with a new partner. Sex is supposed to be fun, but worrying over your prowess between the sheets can make sex the exact opposite of what’s it’s supposed to be. [Read: 13 ways to overcome sexual anxiety and perform]