Robbins, C. L., Schick, V., Reece. M., Herbenick, D., Sanders, S. A. Dodge, B., & Fortenberry J. D., (2011, December 1). Prevalence, frequency, and associations of masturbation with partnered sexual behaviors among US adolescents. JAMA Pediatrics, 165(12), 1087–1093. Retrieved from https://jamanetwork.com/journals/jamapediatrics/fullarticle/1107656
The nerves and endothelium of sinusoids and vessels in the penis produce and release transmitters and modulators that control the contractile state of corporal smooth muscles. Although the membrane receptors play an important role, downstream signaling pathways are also important. The RhoA–Rho kinase pathway is involved in the regulation of cavernosal smooth muscle contraction. 
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:
You should talk to your doctor about possible treatments. You may want to talk to other patients who have had the treatment planned for you. You also may want to seek a second doctor's opinion about surgery before making your decision. You may find it difficult to talk to your doctor about impotence. You will want to find a doctor who treats this condition and will help you feel comfortable talking about the problem and choosing the best treatment. You can also get more information by contacting your local National Kidney Foundation affiliate.
When other treatments haven’t helped, a penile implant may be the right solution. A penile implant is a medical device that is surgically placed into a penis to mimic the look and performance of a natural erection9. Implants are custom-fitted to your anatomy. Sensitivity and the ability to ejaculate aren’t typically affected either, so you’ll be able to have an orgasm normally (unless you have a medical condition that prevents this)7.
Clinical experience in switching medications to improve ED has been disappointing in that improvement does not often occur. Nonetheless, it is important to try to discontinue possible offending medications before proceeding to more invasive ED treatment options. Oral ED medications have changed the way clinicians discontinue medications in patients with ED and has improved the approach. For example, a patient may develop ED on a thiazide diuretic. The diuretic may be withdrawn, but a trial of oral ED therapy can be initiated during the observation period while the patient is waiting to see if any spontaneous improvement in ED occurs after drug withdrawal. Alternatively, if diuretic therapy is effective, well tolerated, and controlling blood pressure, oral ED therapy can be used on an ongoing basis to treat the side effect of ED.
ICI Alprostadil may be used as a mixture with two other drugs to treat ED. This combination therapy called "bimix or trimix" is stronger than alprostadil alone and has become standard treatment for ED. Only the Alprostadil ingredient is FDA approved for ED. The amount of each drug used can be changed based on the severity of your ED, by an experienced health professional. You will be trained by your health professional on how to inject, how much to inject and how to safely raise the drug's dosage if necessary.