Stiffy Solution: The good news is, almost all of these conditions can be successfully treated if you catch them early on. And since erectile problems may be the first side effect your dude has experienced, seeking medical treatment for his erectile problems may be the thing to get him into a doctor's office. So if your dude is a well-rested, non-drinking, non-smoking, paragon of relaxation who suddenly can't get wood, urge him to talk to his doctor — his misbehaving penis may actually be communicating something way more important than "Not tonight, honey."
This process comprises a variety of physical aspects with important psychological and behavioral overtones. In analyzing the material presented and discussed at this conference, this consensus statement addresses issues of male erectile dysfunction, as implied by the term "impotence." However, it should be recognized that desire, orgasmic capability, and ejaculatory capacity may be intact even in the presence of erectile dysfunction or may be deficient to some extent and contribute to the sense of inadequate sexual function.
It can also help to tell your partner (either before you start or when it happens) that hey, sometimes it takes your penis a while to warm up or sometimes it comes and goes as it pleases — and that they shouldn't take it personally and you won't let it ruin the moment. When it happens, take a few deep breaths, focus on your partner, and go back to doing whatever was feeling good before. "If they approach that with authentic confidence, the partner is usually like 'OK, cool,'" says Skyler. "Remember, you're more than just your penis."
Depression and anxiety: Psychological factors may be responsible for erectile dysfunction. These factors include stress, anxiety, guilt, depression, widower syndrome, low self-esteem, posttraumatic stress disorder, and fear of sexual failure (performance anxiety). It is also worth noting that many medications used for treatment of depression and other psychiatric disorders may cause erectile dysfunction or ejaculatory problems.
Aging, liver and kidney problems, and concurrent use of certain medications (such as erythromycin [an antibiotic] and protease inhibitors for HIV) slows the metabolism (breakdown) of sildenafil. Slowed breakdown allows sildenafil to accumulate in the body and potentially may increase the risk of side effects. Therefore, in men over 65 years of age, in men with significant kidney and liver disease, and in men who also are taking medications called protease inhibitors, the doctor will initiate sildenafil at a lower dose (25 mg) to avoid accumulation of sildenafil in the body. A protease inhibitor ritonavir (Norvir) is especially potent in increasing the accumulation of sildenafil, thus men who are taking Norvir should not take sildenafil doses higher than 25 mg and at a frequency of no greater than once in 48 hours. Other medications that may affect the level of sildenafil include erythromycin and ketoconazole.
The Cancer of the Prostate Strategic Urologic Research Endeavor (CaPSURE) study, designed to determine whether an individual man’s sexual outcomes after most common treatments for early-stage prostate cancer could be accurately predicted on the basis of baseline characteristics and treatment plans, found that 2 years after treatment, 177 (35%) of 511 men who underwent prostatectomy reported the ability to attain functional erections suitable for intercourse. 
Sexual dysfunction and ED become more common as men age. The percentage of complete ED increases from 5% to 15% as age increases from 40 to 70 years. But this does not mean growing older is the end of your sex life. ED can be treated at any age. Also, ED may be more common in Hispanic men and in those with a history of diabetes, obesity, smoking, and hypertension. Research shows that African-American men sought medical care for ED twice the rate of other racial groups.