• Blood Vessels: Diabetes damages blood vessels, especially the smallest blood vessels such as those in the penis. Diabetes can also cause heart disease and other circulatory problems. Proper blood flow is absolutely crucial to achieving erection. “Erection is a hydraulic phenomenon that occurs involuntarily,” says Arturo Rolla, MD, of Harvard University School of Medicine. “Nobody can will an erection!” Anything that limits or impairs blood flow can interfere with the ability to achieve an erection, no matter how strong one’s sexual desire.
Since the advent of PDE5i, many other selective and non-selective peripheral acting compounds have been developed or are in development. Avanafil has shown promising results in treating ED in post-prostatectomy patients with suspected cavernous nerve injury (111). Other PDE5i marked in Asia such as udenafil, and mirodenafil also effective at treating ED may minimize side effects due to shorter half-lives (112-114). Soluable guanylate-cyclase inhibitors and potassium channel activators are compounds that have induced erections in animal models but remain experimental requiring further investigation (115-117).
Onion also has aphrodisiac qualities so that before learning several things about how to treat impotence at home naturally, people should think about onion as it is very powerful in increasing the erection and stamina of men in mild and moderate cases. In addition, onion can help men deal with the involuntary loss of semen when they are sleeping or other times.
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.
The primary nerve fibers to the penis are from the dorsal nerve of the penis, a branch of the pudendal nerve. The cavernosal nerves are a part of the autonomic nervous system and incorporate both sympathetic and parasympathetic fibers. They travel posterolaterally along the prostate and enter the corpora cavernosa and corpus spongiosum to regulate blood flow during erection and detumescence. The dorsal somatic nerves are also branches of the pudendal nerves. They are primarily responsible for penile sensation. 
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.
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.