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.
Impotence is the inability to get and keep an erection hard enough to have sex. Many men experience difficulties getting an erection when they are tired or stressed. This is normal and it doesn’t require treatment. However, if you encounter problems that persist, you may be suffering with a degree of impotence. Impotence is a very treatable condition and help is available either when you visit your local GP or an online doctor.
You can also consider using a cock ring or penis ring if you are able to get an erection but have trouble maintaining it. Cock rings work by trapping the blood inside your penis so it remains harder for longer. You can purchase one in a sex store or online for about $5 and you put in on over your penis and testicles when you are half hard and keep it on until you are finished with sex. It’s a great cheap fix for erectile issues.
The American Urological Association Guideline on the Management of ED states oral PDE5i are considered first line therapy for the treatment of ED, unless contraindicated (57). Sildenafil, the first oral PDE5i, was introduced in 1998 and has revolutionized ED therapy due to its broad applicability, effectiveness and safety profile. PDE5i work by preventing hydrolysis of cGMP by the PDE5 enzyme in the smooth muscle of the corpora cavernosa. cGMP degradation typically leads to smooth muscle contraction and detumescence prevented by PDE5i administration. Two other PDE5i, vardenafil and tadalafil are other PDE5i with different pharmacokinetics, PDE receptor selectivity and side effect profiles.
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.
In a prospective, multicenter, single-armed study of ED patients who exhibited a suboptimal response to PDE5 inhibitors, the investigators found that percutaneous implantation of zotarolimus-eluting stents in focal atherosclerotic lesions was both safe and feasible and was associated with clinically meaningful improvement on subjective and objective measures of erectile function. 
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.