Alprostadil should not be used in men at higher risk for priapism (erection lasting longer than six hours) including men with sickle cell anemia, thrombocytopenia (low platelet count), polycythemia (increased red blood cell count), multiple myeloma (a cancer of the white blood cells), and is contraindicated in men prone to venous thrombosis (blood clots in the veins) or hyperviscosity syndrome who are at increased risk for priapism.
For obvious reasons, ED can be a sensitive subject, one that until relatively recently men were more likely to try to hide than to deal with. Fortunately, a deeper understanding of the variety of causes of erectile dysfunction has led to medications, therapies, and other treatments that can be more individualized and more likely to be effective—and more open discussion about addressing the concern.
The mechanisms by which testosterone plays a role in erectile function are not completely understood. A study evaluating the effect of testosterone on erections in surgically castrated rabbits and control animals, in which the rabbits’ intracavernosal pressures were compared after cavernosal nerve stimulation, determined that castrated rabbits had much lower pressures after stimulation than control rabbits did.  Notably, the pressures increased when castrated rabbits received exogenous testosterone replacement.
The observation that TRT enhances the efficacy of PDE5 inhibitors in hypogonadal men taking these therapies with suboptimal response to the PDE5 inhibitors alone has been reported.33 In addition, investigators have demonstrated that TRT in hypogonadal men can improve erectile function even without the benefit of PDE5 inhibitors.33 In addition, guidelines for managing ED in hypogonadal men by the European Association of Urology recommend controlling the man to a eugonadal state prior to initiation of PDE5 inhibitor therapy.36 Testosterone measurement consists of a serum specimen which should be ideally obtained in the morning because of the normal diurnal variation of testosterone which is at its peak in the morning. Since TRT is relatively safe, and men can potentially see an improvement in erectile function, it seems prudent to consider this issue when presented with a patient suffering from ED.
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. 
Long-term predictions based on an aging population and an increase in risk factors (eg, hypertension, diabetes, vascular disease, pelvic and prostate surgery, benign prostatic hyperplasia, and lower urinary tract symptoms) suggest a large increase in the number of men with ED. In addition, the prevalence of ED is underestimated because physicians frequently do not question their patients about this disorder.
A physical exam checks your total health. Examination focusing on your genitals (penis and testicles) is often done to check for ED. Based on your age and risk factors, the exam may also focus on your heart and blood system: heart, peripheral pulses and blood pressure. Based on your age and family history your doctor may do a rectal exam to check the prostate. These tests are not painful. Most patients do not need a lot of testing before starting treatment.