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. 
Treatment. prostatitis or another acute infection affecting the genitalia can cause temporary impotence that clears up in response to antibiotics. The smooth muscle relaxant sildenafil (viagra) was introduced in 1998 as a treatment for organic impotence. Administration of testosterone may be indicated if low levels of this hormone are found in a blood sample. If impotence is organic and does not respond to other therapies, a penile prosthesis can be implanted; this is usually done surgically by a urologist. Other therapies include the use of vacuum tumescence devices and penile injection of pharmacologic agents that cause dilation.
For best results, men with ED take these pills about an hour or two before having sex. The drugs require normal nerve function to the penis. PDE5 inhibitors improve on normal erectile responses helping blood flow into the penis. Use these drugs as directed. About 7 out of 10 men do well and have better erections. Response rates are lower for Diabetics and cancer patients.