For example, many men with diabetes mellitus may develop erectile dysfunction during their young and middle adult years. Physicians, diabetes educators, and patients and their families are sometimes unaware of this potential complication. Whatever the causal factors, discomfort of patients and health care providers in discussing sexual issues becomes a barrier to pursuing treatment.
How’s this for a win-win: The more sex you have, the less likely you are to suffer from erectile dysfunction, according to a 2008 study published in The American Journal of Medicine. Men aged 55-75 who reported having sex less than once per week had twice the incidence of erectile dysfunction (there were 79 cases of ED per 1,000) as men who have sex once a week (32 cases of ED per 1,000). But if you really want to up your odds, shoot for three times per week (only 16 cases of ED per 1,000). Can you really argue with science, or a perscription to have more sex?
Don’t give up or blame yourself - you shouldn’t assume that your situation is impossible to improve or that your partner is disappointed in you. Studies show as long as you don’t stop trying to engage your partner sexually, they will still respond positively. If you communicate and stay positive you can work with your partner to get the result you’re looking for.
Traditionally, erectile impotence (the classical definition of impotence) is the failure to achieve penile erection during intercourse. It may have either physical or psychological causes. Alcoholism, endocrine disease, and neurological disorders are typical physical causes. Psychological causes include anxiety over performance, hostility or other negative feelings toward the sexual partner, and stress, anxiety, depression, or other emotional conflicts outside of the relationship. Erectile impotence occasionally occurs with age and, although attributed by the individual to the aging process itself, it is usually secondary to disorders of aging, such as faulty blood circulation or prostate disease. In cases of impotence caused by blood vessel dysfunction, an insufficient supply of blood flows into the penis, or the blood diffuses out into adjacent tissues.
It is common for a healthy older man to still want sex and be able to have sex within appropriate limitations. Understanding what is normal in older age is important to avoid frustration and concern. Older men and their partners often value being able to continue sexual activity and there is no age where the man is ‘too old’ to think about getting help with his erection or other sexual problems.
A common and important cause of ED is vasculogenic. Many men with ED have comorbid conditions such as hyperlipidemia, hypercholesterolemia, tobacco abuse, diabetes mellitus, or coronary artery disease (CAD).  The Princeton III Consensus recommends screening men who present with ED for cardiovascular risk factors; ED may be the earliest presentation of atherosclerosis and vascular disease. 
Erectile dysfunction may be an unpleasant condition that no one really wants to talk about, failing to acknowledge it won’t make the problem go away. Your best defense against health problems like this is to learn everything you can about it so you can tackle the problem at the root. If you’re ready to stop living in embarrassment about your sexual function, become an advocate for yourself and your own health and talk to your doctor.
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.
Research is mixed on the effectiveness of acupuncture as an erectile dysfunction cure, but one study published in November 2013 in the Journal of Alternative and Complementary Medicine found that acupuncture can be beneficial for men experiencing erectile dysfunction as a side effect of antidepressants, including selective serotonin reuptake inhibitors (SSRIs) and serotonin noradrenaline reuptake inhibitors (SNRIs).
It is essential to discuss erectile dysfunction with your doctor, so any serious underlying causes can be excluded and treatment options can be discussed. Many men are embarrassed discussing this issue with their doctor, or even their partner. Open communication with your doctor, and in your relationship, is important for effectively managing this common problem.
There are many alternative impotence treatments available but many of them are neither licensed nor legitimate, Beware of sellers offering “herbal” impotence treatments - these remedies do not work and are often sold illegally. You should also be wary of online sellers who offer Viagra and other prescription drugs without asking you for a prescription. Illegal pharmacies often sell counterfeit or fake medication and buying from them could put your health at risk.
ED usually has something physical behind it, particularly in older men. But psychological factors can be a factor in many cases of ED. Experts say stress, depression, poor self-esteem, and performance anxiety can short-circuit the process that leads to an erection. These factors can also make the problem worse in men whose ED stems from something physical.