As blood flows into the penis, the corpora cavernosa swell, and this swelling compresses the veins (blood vessels that drain the blood out of the penis) against the tunica albuginea. Compression of the veins prevents blood from leaving the penis. This creates a hard erection. When the amount of cGMP decreases by the action of a chemical called phosphodiesterase type 5 (PDE5), the muscles in the penis tighten, and the blood flow into the penis decreases. With less blood coming into the penis, the veins are not compressed, allowing blood to drain out of the penis, and the erection goes down.
Because impotence can be due to health problems that can affect the whole body, and because it can interfere with one’s quality of life, it is important to talk with your doctor if you have trouble attaining or maintaining an erection. With increasing discussion of impotence in the media, coupled with advances in treatment, men are now much more comfortable talking with their doctors about impotence. It is currently estimated that between 15 and 30 million men in the United States are affected by impotence (Source: NIDDK).
First realize that this is normal, and just because it happened once does not mean it will happen again (but freaking out about it could make it happen again). Then Skyler tells people to completely ditch the idea that sex is a goal-oriented act with orgasm being the big finish. Instead, take a pleasure-oriented mentality where various sex acts are done because they feel good — not because it's part of series of steps to get you to climax. This helps take away some of the anxiety, because when you're not so focused on the performance, it's not that big of a deal if there's a little bit of stage fright, she says. There's plenty of other things you can do while hanging out with a non-erect penis!
Metabolism (breakdown) of vardenafil can be slowed by aging, liver disease, and concurrent use of certain medications (such as erythromycin [an antibiotic], ketoconazole [Nizoral, a medication for fungal/yeast infections], and protease inhibitors [medications used to treat AIDS]). Slowed breakdown allows vardenafil to accumulate in the body and potentially increase the risk for side effects. Therefore, in men over 65 years of age with liver disease, or who are also taking medication(s) that can slow the breakdown of vardenafil, the doctor will initiate vardenafil at low doses to avoid its accumulation. For example,
Diabetes is one of the most common causes of ED. Chronically high blood sugar levels can result in nerve damage that affects your body’s ability to translate pleasurable sexual stimulation into an erection. Diabetes can also lead to issues with circulation, which reduces blood flow to the penis and makes it more difficult to keep an erection that is hard enough for intercourse.
Sildenafil (Viagra) was the first oral phosphodiesterase type 5 (PDE5) inhibitor approved by the FDA in the United States for the treatment of erectile dysfunction (it is not approved for women). Sildenafil inhibits PDE5, which is an enzyme that destroys cGMP. By inhibiting the destruction of cGMP by PDE5, sildenafil allows cGMP to accumulate. The cGMP in turn prolongs relaxation of the smooth muscle of the corpora cavernosa. Relaxation of the corpora cavernosa smooth muscle allows blood to flow into the penis resulting in increased engorgement of the penis. In short, sildenafil increases blood flow into the penis and decreases blood flow out of the penis.
Finally, there are NO-releasing polymers that are capable of delivering NO in a pharmacologically useful way. Such compounds include compounds that release NO upon being metabolised and compounds that release NO spontaneously in aqueous solution. Initial animal studies suggest that cavernosal injections of NO polymers can significantly improve erectile function.48
The inability to achieve or sustain a sufficiently firm penile erection (tumescence) to allow normal vaginal sexual intercourse. The great majority of cases are not caused by organic disease and most men experience occasional periods of impotence. It is often related to anxiety about performance and is usually readily corrected by simple counselling methods which prescribe sensual massage but forbid coitus. Organic impotence may be caused by DIABETES, MULTIPLE SCLEROSIS, spinal cord disorders and heart disease. Many cases can be helped by the drug SILDENAFIL (Viagra).
Sexual dysfunction is highly prevalent in men and women. In the MMAS, 52% of the respondents reported some degree of erectile difficulty. Complete ED, defined as (1) the total inability to obtain or maintain an erection during sexual stimulation and (2) the absence of nocturnal erections, occurred in 10% of the respondents. Mild and moderate ED occurred in 17% and 25% of responders, respectively. 
It appears that testosterone has NOS-independent pathways as well. In one study, castrated rats were implanted with testosterone pellets and then divided into a group that received an NOS inhibitor (L-nitro-L-arginine methyl ester [L-NAME]) and a control group that received no enzyme.  The castrated rats that were given testosterone pellets and L-NAME still had partial erections, a result suggesting the presence of a pathway independent of NOS activity.
In the majority of patients the impotence is organic, though not endocrinologic, and there is no easily remedied cause. These patients require physiologic testing and urologic consultation for specific diagnosis. Likely causes of impotence in this group include vascular and neurologic diseases. These patients are candidates for penile prostheses or, in special cases, for revascularization. Patients interested in surgical approaches should be referred for further testing. There is little to be gained by continuing the work-up of patients who prefer not to have an operation.
The link between chronic disease and ED is most striking for diabetes. Men who have diabetes are two to three times more likely to have erectile dysfunction than men who do not have diabetes. Among men with erectile dysfunction, those with diabetes may experience the problem as much as 10 to 15 years earlier than men without diabetes. Yet evidence shows that good blood sugar control can minimize this risk. Other conditions that may cause ED include cardiovascular disease, atherosclerosis (hardening of the arteries), kidney disease, and multiple sclerosis. These illnesses can impair blood flow or nerve impulses throughout the body.