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. 
I suffered from sporadic limp dick in my 20s. It was usually when I was nervous because I was with a girl I actually liked. A doctor prescribed me Viagra. When I took it, my whole body went bright red, my nose became so congested that I had to breath through my mouth—almost impossible to do while kissing—and I stayed hard for an uncomfortably long nine hours.
Exercise and lifestyle modifications may improve erectile function. Weight loss may help by decreasing inflammation, increasing testosterone, and improving self-esteem. Patients should be educated to increase activity, reduce weight, and stop smoking, as these efforts can improve or restore erectile function in men without comorbidities. Precise glycemic control in diabetic patients and pharmacologic treatment of hypertension may be important in preventing or reducing sexual dysfunction. 
In the 14 years or so since Viagra was introduced in 1998, the number of men diagnosed with erectile dysfunction (ED) has increased by a whopping 250 percent. Men are realizing more and more that they’re not alone and that they have options. Aside from pills like Viagra, Levitra, and Cialis, for example, there are surgical, therapeutic, even do-it-yourself treatments that can bring back that lovin’ feeling. "Some older ED treatments are actually being used more than ever, especially for men who can't take the pill," says Michael Feloney, MD, a urologist at the Nebraska Medical Center in Omaha. Read on to find out about nine common remedies for ED, plus the truth about which ones live up to the hype and which fall flat.
Garlic is considered to help effectively in dealing with the impotence and ED problems because it has high levels of allicin which can help to improve blood flow and blood circulation. A small research of Dr. Graham Jackson, consultant cardiologist at Guys and St Thomas’ NHS Trust discovered that consuming 4 cloves of garlic every day for 3 months can help much in improving the erection in 6 out of 7 volunteers struggling with impotence.
PDE5 inhibitors, the primary second-line therapy, have been the mainstay of ED treatment since the release of sildenafil (Viagra) in 1998, with the subsequent development of many others, and still more in the development stage. These medications do improve erectile quality for the majority of men, and they work by enhancing blood flow in the corpora cavernosa. These medications are generally used on demand and need to be taken about an hour before sexual intimacy. Tadalafil (Cialis) is longer acting and does come in a daily preparation potentially eliminating the ‘on-demand’ need. The daily dosing of tadalafil, 2.5–5 mg\day, has also been approved by the FDA for treatment of symptoms of BPH.41 PDE5 inhibitors are contraindicated in men taking nitrates, but otherwise PDE5 inhibitors are very safe and effective. When PDE5 inhibitors are coadministered with nitrates, pronounced systemic vasodilation and severe hypotension are possible. Many patients with ED are elderly and have the same risk factors as patients with CAD, so these drug combinations are commonly considered or encountered in clinical practice.42
You’ve probably heard of Viagra, but it’s not the only pill for ED. This class of drugs also includes Cialis, Levitra, Staxyn, and Stendra. All work by improving blood flow to the penis during arousal. They're generally taken 30-60 minutes before sexual activity and should not be used more than once a day. Cialis can be taken up to 36 hours before sexual activity and also comes in a lower, daily dose. Staxyn dissolves in the mouth. All require an OK from your doctor first for safety.
Psychotherapy, marital counseling, or sex therapy may be helpful in treating cases of impotence that have psychological or emotional causes. A range of other treatments exists for cases of impotence that arise from purely physiological causes. These treatments include vacuum devices, penile injections, and penile implants. These mechanical or physically invasive approaches have largely been superseded, however, by the drug sildenafil citrate (trade name Viagra), which is taken in pill form. This drug works by enhancing the effects of nitric oxide, a chemical that, upon sexual stimulation, is normally released to widen the blood vessels supplying the penis. The increased flow of blood through those vessels into certain tissues in the penis causes an erection. See also sexual dysfunction.
Knowing about your history of ED will help your health provider learn if your problems are because of your desire for sex, erection function, ejaculation, or orgasm (climax). Some of these questions may seem private or even embarrassing. However, be assured that your doctor is a professional and your honest answers will help find the cause and best treatment for you.