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. 
Moemen et al. compared the effectiveness and satisfaction associated with use of several ED therapies including sildenafil alone, intracavernosal injections (ICI) followed by sildenafil after ICI discontinuation and vacuum erections devices (VED) followed by sildenafil therapy after VED discontinuation (60). Seventy percent of men receiving vasoactive medications preferred sildenafil to ICI, even though rigidity was superior in the ICI group. All men using VEDs were dissatisfied with that form of therapy.
Erythrocytosis has been noted in men on TRT, and should be monitored every 6–12 months depending upon the patients’ response to changes in haematocrit levels. For mild elevations, the dosage of testosterone can be decreased or the interval of using the medication can be increased. With the haematocrit greater than 50%, decisions to temporarily discontinue the medication or periodic phlebotomy may be indicated.38
Qaseem, A., Snow, V., Denberg, T. D., Casey, D. E., Forciea, M. A., Owens, D. K., & Shekelle, P. (2009). Hormonal testing and pharmacologic treatment of erectile dysfunction: A clinical practice guideline from the American College of Physicians. Annals of internal medicine, 151(9), 639-649. Retrieved from http://annals.org/aim/article/745155/hormonal-testing-pharmacologic-treatment-erectile-dysfunction-clinical-practice-guideline-from
Having learned a great deal more about erectile dysfunction including its risk factors and causes, you should be equipped to assess your own erectile function. If you have experienced erectile issues or you have some of the risk factors mentioned above, it may be worth making a trip to your doctor’s office. If you choose to seek help, give your doctor as much information as you can about your symptoms including their frequency and severity as well as the onset. With your doctor’s help, you can determine the best course of treatment to restore sexual function.
Acupuncture may help treat psychological ED, though studies are limited and inconclusive. You’ll likely need several appointments before you begin to notice any improvements. When choosing an acupuncturist, look for a certified practitioner who uses disposable needles and follows U.S. Food and Drug Administration guidelines for needle disposal and sterilization.
Modern drug therapy for ED made a significant advance in 1983, when British physiologist Giles Brindley dropped his trousers and demonstrated to a shocked Urodynamics Society audience his papaverine-induced erection. The drug Brindley injected into his penis was a non-specific vasodilator, an alpha-blocking agent, and the mechanism of action was clearly corporal smooth muscle relaxation. The effect that Brindley discovered established the fundamentals for the later development of specific, safe, and orally effective drug therapies.[better source needed][better source needed]
Surgery: If neither drugs nor the vacuum pump works, your doctor may suggest surgery. With surgery, the doctor can place a device in your penis that will cause enough hardness for intercourse. In a few cases, infections may develop after the operation, and the doctor may have to remove the device. Another operation that may help you is rebuilding the blood vessels in the penis to increase blood flow into the penis or decrease blood flow out of the penis. These procedures can help you to get and maintain an erection.
NO is produced by the enzyme NO synthase (NOS).  NOS plays many roles, ranging from homeostasis to immune system regulation. To date, 3 subtypes have been identified: nNOS, iNOS, and eNOS, which are produced by the genes NOS1, NOS2, and NOS3, respectively. This nomenclature is derived from the sources of the original isolates: neuronal tissue (nNOS), immunoactivated macrophage cell lines (iNOS), and vascular endothelium (eNOS). The subtypes are not, however, limited to the tissues from which they were first isolated.
A vacuum erection device is a plastic tube that slips over the penis, making a seal with the skin of the body. A pump at the other end of the tube makes a low-pressure vacuum around the erectile tissue, which results in an erection. An elastic ring is then slipped onto the base of the penis. This holds the blood in the penis (and keeps it hard) for up to 30 minutes. With proper training, 75 out of 100 men can get a working erection using a vacuum erection device.