Patients receiving penile prostheses should be instructed in the operation of the prosthesis before surgery and again in the postoperative period. The prosthesis usually is not activated until approximately 6 weeks after surgery, so as to allow the edema and pain to subside. The prosthesis is checked in the office before the patient begins to use it.
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.
Me? I'm in my 60's and never had ED, not even once. And never failed to have a good orgasm with sexual activity. Unfortunately, I think it has created too much of a contrast to my wife, who has never had an orgasm, and now in menopause has given up and won't even let me touch her sexually (hugging and kissing is fine, but that's as far as she'll let me go).
The health care provider will ask about the firmness and duration of erections at different times (e.g., sex with partners, erections after sleep). Discussing sexual dysfunction with a health care provider is very important because many conditions causing it can be successfully treated. If a man has no diseases that cause ED and can have an erection with masturbation or early morning awakening, he likely has ED due to psychological causes.
Other medical therapies under evaluation include ROCK inhibitors and soluble guanyl cyclase activators. Melanocortin receptor agonists are a new set of medications being developed in the field of erectile dysfunction. Their action is on the nervous system rather than the vascular system. PT-141 is a nasal preparation that appears to be effective alone or in combination with PDE5 inhibitors. The main side effects include flushing and nausea. These drugs are currently not approved for commercial use.
But the main challenge to finding the best ED drug for you may turn out to be health insurance rules—not biochemistry. It's a common practice among insurers to limit the number of pills you can obtain per month. After you hit your limit, the out-of-pocket cost for a single pill can be as high as $20. "The main obstacle in my practice is the cost," Dr. Liou says. You'll need to work with your doctor to get the pill you need at a price you can afford.
The primary nerve fibers to the penis are from the dorsal nerve of the penis, a branch of the pudendal nerve. The cavernosal nerves are a part of the autonomic nervous system and incorporate both sympathetic and parasympathetic fibers. They travel posterolaterally along the prostate and enter the corpora cavernosa and corpus spongiosum to regulate blood flow during erection and detumescence. The dorsal somatic nerves are also branches of the pudendal nerves. They are primarily responsible for penile sensation. 
Having erection trouble from time to time isn't necessarily a cause for concern. If erectile dysfunction is an ongoing issue, however, it can cause stress, affect your self-confidence and contribute to relationship problems. Problems getting or keeping an erection can also be a sign of an underlying health condition that needs treatment and a risk factor for heart disease.