Causes of impotence are many and include heart disease, high cholesterol, high blood pressure, obesity, metabolic syndrome, Parkinson's disease, Peyronie's disease, substance abuse, sleep disorders, BPH treatments, relationship problems, blood vessel diseases (such as peripheral vascular disease and others), systemic disease, hormonal imbalance, and medications (such as blood pressure and heart medications).
The dorsal artery provides for engorgement of the glans during erection, whereas the bulbourethral artery supplies the bulb and the corpus spongiosum. The cavernous artery effects tumescence of the corpus cavernosum and thus is principally responsible for erection. The cavernous artery gives off many helicine arteries, which supply the trabecular erectile tissue and the sinusoids. These helicine arteries are contracted and tortuous in the flaccid state and become dilated and straight during erection. 
In order to establish whether normal erections are occurring overnight (nocturnal erections), the doctor may organise nocturnal penile tumescence (NPT) testing. This involves wearing a monitor overnight in your own home. The data from this monitor is then assessed to analyse how often erections occurred, how long they lasted, and how rigid and large the penis was during the erections. If NPT testing is normal, the cause of erectile dysfunction is usually psychological. If not, further testing of the blood flow in the genital area may be required to see if there is blockage or leakage. The doctor may also organise a blood test of levels of hormones such as testosterone, prolactin and thyroid stimulating hormone to see if these are contributing to the erectile dysfunction.
The art of acupuncture has become the new treatment for everything from back pain, depression, and even ED. Impotence could be more of a state of mind, and acupuncture may help. Through this alternative therapy, fine needles are placed in various parts of the body to relieve pain or stress. Although there are many mixed studies for acupuncture and ED, many tend to confirm positive results. A 1999 study found acupuncture improved the quality of erection and even restored sexual activity in 39 percent of participants.
L-arginine, an amino acid that is naturally present in the body and helps make nitric oxide, supports a successful erection. Nitric oxide is responsible for making the blood vessels relax, which helps sustain an erection for men. A 1999 study, observed the effects of six weeks of high-dose (5 grams/day) orally administered nitric oxide (NO) donor L-arginine on men with organic ED. Thirty-one percent of those who took 5 grams/day of L-arginine experienced significant improvements in sexual function. Burns told Medical Daily, “l-arginine and deer antler velvet” have been the most popular go-to natural treatments for men.
The penis contains three cylinders, the two corpora cavernosa, which are on the top of the penis (see figure 1 below). These two cylinders are involved in erections. The third cylinder contains the urethra, the tube that the urine and ejaculate passes through, runs along the underside of the penis. The corpus spongiosum surrounds the urethra. Spongy tissue that has muscles, fibrous tissues, veins, and arteries within it makes up the corpora cavernosa. The inside of the corpora cavernosa is like a sponge, with potential spaces that can fill with blood and distend (known as sinusoids). A layer of tissue that is like Saran Wrap, called the tunica albuginea, surrounds the corpora. Veins located just under the tunica albuginea drain blood out of the penis.
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. 
There are risks to prosthetic surgery and patients are counselled before the procedure. If there is a post-operative infection, the implant will likely be removed. The devices are reliable, but in the case of mechanical malfunction, the device or a part of the device will need to be replaced surgically. If a penile prosthesis is removed, other non-surgical treatments may no longer work.