If it happens only occasionally, it's not likely to be serious. All men have problems with erections at some time in their lives.
Recommended Related to Erectile Dysfunction
Erectile Dysfunction Treatments for Men With Diabetes
Diabetes is a common cause of erectile dysfunction (ED). Erections depend on blood supply, and diabetes affects the blood vessels and blood supply to all organs -- heart, brain, kidneys, and penis. In fact, a man with ED is at risk for heart disease. Clinical experience and numerous studies suggest that at least half of all male diabetes patients will experience difficulties with erections. Men with diabetes are up to three times more likely to have ED and appear to get it earlier in life. The...
Read the Erectile Dysfunction Treatments for Men With Diabetes article > >
If it slowly but consistently gets worse, there's probably a physical cause. This is generally what happens with chronic impotence.
If it happens suddenly but you're still stiff early in the morning and can get an erection while masturbating, that suggests your mind is involved. There could be something going on physically, too.
When to Call Your Doctor
Pick up the phone if your ED worries you so much that it causes anxiety or threatens your sexual relationship. At the very least, your doctor can clear up misinformation, which often makes sexual problems worse. Sometimes taking medication for a short time can get you through a rough patch, too.
Also talk to the doctor if it's painful to get an erection or difficult because your penis is curved (a condition called Peyronie's disease).
If the problem doesn't go away, it could be an early warning sign of a more serious, larger condition. For example, the penile artery can get narrower because of coronary artery disease or diabetes.
To help your erections, your doctor may suggest taking medication as a pill or as an injection in your penis, or using a mechanical device. And you'll need to deal with the underlying medical condition, too.