Associated morbidity may include various other male sexual dysfunctions, such as premature (early) ejaculation and male hypoactive sexual desire disorder. The NHSLS found that 28.5% of men aged 18-59 years reported premature ejaculation, and 15.8% lacked sexual interest during the past year. An additional 17% reported anxiety about sexual performance, and 8.1% had a lack of pleasure in sex. 
Farag YM, Guallar E, Zhao D, Kalyani RR, Blaha MJ, Feldman DI, Martin SS, Lutsey PL, Billups KL, Michos ED. Vitamin D deficiency is independently associated with greater prevalence of erectile dysfunction: The National Health and Nutrition Examination Survey (NHANES) 2001-2004. Atherosclerosis. 2016 Sep;252:61-7. doi: 10.1016/j.atherosclerosis.2016.07.921. Epub 2016 Jul 29.
I started meditating about three years ago. I jumped in at the deep end. After a month of goofing around with apps, I signed up for a Vipassana—a ten-day silent retreat, where you sit cross-legged and meditate for about ten hours a day and spend the remaining 14 questioning everything you've ever done. After the retreat all sorts of changes took place: My anxiety disappeared, and my decision-making improved; but one of the most pronounced changes was my sex life. For the first time, I could have sex while thinking about sex rather than how broke I was or how quickly my career was imploding. And I'm not alone; meditation forums are full of people who have had similar experiences.
If it is determined that ED is a problem, the patient evaluation should include a detailed sexual and medical history and a physical exam. In particular, it is important to evaluate the ED within the context of ejaculatory problems. There is a strong interplay between premature ejaculation (PE) and ED, with about a third of ED patients reporting PE. The relationship between the PE and ED is bidirectional and successful treatment of one often requires treatment of the other.14
To find studies on the link between meditation and erectile dysfunction (ED) you have to go way back. A 1977 study by Gerard V Sunnen at New York University on nine men with a mean age of 32 found that as little as two 15 minute sessions of meditation a day transformed the men so that all but two of them could achieve "erectile competence." The study worked by training the men how to deflect negative thought patterns from their mind through meditation.
Psychological factors — Psychological issues such as depression, anxiety, guilt or fear can sometimes cause sexual problems. At one time, these factors were thought to be the major cause of impotence. Doctors now know that physical factors cause impotence in most men with the problem. However, embarrassment or "performance anxiety" can make a physical problem worse.
Penile Injection Medication: This is just what it sounds like. Injected at home directly into the penis, the medication alprostadil produces erection by relaxing certain muscles, increasing blood flow into the penis and restricting outflow. Although some sources report an 80 percent success rate, the therapy has disadvantages, such as risks of infection, pain, and scarring—fibrosis—in the penis, and it may also cause priapism. A popular version of this medication is Upjohn Corporation’s Caverject. The MUSE System, by VIVUS, involves the same medicine (a pellet of alprostadil) applied with an eye-dropper-like applicator, directly into the urethra.
Erections are initiated and maintained via integration of afferent inputs in the supra sacral regions of the central nervous system. Regions of the brain cited to have key roles in the integration of signals include the medial amygdala, MPOA, periaqueductal gray matter, paraventricular nucleus (PVN), and ventral tegmentum among others (16). Studies in animal models, particularly in rats, have been paramount in identifying these key areas of signal integration and control. Electrostimulation of the MPOA, PVN and hippocampus lead to erection and lesions in these areas may prevent erection (17). Marson et al. injected labeled pseudorabies virus into rat corpora cavernosa and traced them to neurons in the spinal cord, brain stem and hypothalamus (18). Stimulation of the rat dorsal nerve led to increased firing in the MPOA not found elsewhere (19). Axonal tracing in animals have shows direct projections from the hypothalamus to the lumbosacral autonomic erection centers. Oxytocin and vasopressin have been identified as central neurotransmitters within the hypothalamic nuclei and may have a role in penile erection (17). These signaling studies identifying key areas of erectile response integration may explain how ED is associated with cerebrovascular accident (CVA), Parkinson’s, epilepsy and MS.
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.
In many cases, diagnosing erectile dysfunction requires little more than a physical exam and a review of your symptoms. If your doctor suspects that an underlying health problem may be at play, however, he may request additional testing. Once you’ve determined the cause for your ED, you and your doctor can decide on a form of treatment – here are some of the options:
Communicate with your partner. Do you feel comfortable and accepted when it comes to your sexual performance? If you're worried about meeting your partner's too-high expectations or living up to some kind of standard, it will be harder to maintain an erection - it's called performance anxiety. If you think your partner's judgment might be hindering your ability to have satisfying sex, you need to communicate your needs and find ways to make your sexual environment more inviting.
One study examined the role of testosterone supplementation in hypogonadal men with ED. These men were considered nonresponders to sildenafil, and their erections were monitored by assessing nocturnal penile tumescence (NPT). After these men were given testosterone transdermally for 6 months, the number of NPTs increased, as did the maximum rigidity with sildenafil.  This study suggests that a certain level of testosterone may be necessary for PDE5 inhibitors to function properly.
Look into natural remedies. If you're not interested in drugs and devices, see a homeopathic practitioner who can advise you as to what natural remedies might help manage your ED. While no studies have been conducted to prove that these remedies work for everyone, some men have found that acupuncture, herbal medicines, and "herbal Viagra" can be useful.
Erections occur in response to tactile, olfactory, and visual stimuli. The ability to achieve and maintain a full erection depends not only on the penile portion of the process but also on the status of the peripheral nerves, the integrity of the vascular supply, and biochemical events within the corpora. The autonomic nervous system is involved in erection, orgasm, and tumescence. The parasympathetic nervous system is primarily involved in sustaining and maintaining an erection, which is derived from S2-S4 nerve roots.
Nerves originating in the spinal cord and peripheral ganglia innervate the penis. There are autonomic (parasympathetic and sympathetic), and somatic separate and integrated pathways. The autonomic pathways neurons originate in the spinal cord and peripheral ganglia from the sympathetic and parasympathetic systems, respectively. They merge to form the cavernous nerves that travel alongside the prostate, enter the corpora cavernosa and corpus spongiosum to affect the neurovascular events required for tumescence and detumescence. The somatic nerves send sensory information from the penile skin, glans, and urethra via the dorsal penile nerve and pudendal nerve to the spinal cord. The somatic nerves also initiate contraction of the ischio- and bulbocavernosus muscles.
Alprostadil, a drug also discussed in Penile Injection Therapy, has been formulated into a small suppository. This applicator is inserted into the urethra (the canal through which urine and semen are excreted), and with compression of the applicator, the small suppository is released into the urethra. With massage/rubbing of the penis, the suppository dissolves in the urethra and the medication is absorbed into the penis where it acts to increase blood flow into the penis. One cannot use any form of lubricant (for example, K-Y jelly, Vaseline, etc) to help with the insertion of the suppository. Urinating prior to inserting the applicator will help moisten/lubricate the urethra.
Recently, the US Food and Drug Administration (FDA) has issued a safety announcement regarding TRT. In part it reads ‘The benefit and safety of these medications have not been established. We are also requiring these manufacturers to add information to the labeling about a possible increased risk of heart attacks and strokes in patients taking testosterone.’37
You have to desensitize yourself to stimulation. One way to do this is to masturbate about an hour beforehand, achieving another orgasm shortly after that will be more difficult. If you continue to have trouble, talk to your partner about changes to the timing of your sexual routine, you may need to give them oral or manual stimulation first or after you ejaculate, etc.
If you bike a lot and have a very narrow saddle on your bicycle, consider switching to a "no-nose seat" which is wider at the back than a conventional saddle, allowing more of your weight to be distributed to the sitting bones. Make sure the seat is level or angled slightly downward and at a height that allows your knee to be just slightly bent at the bottom of the pedal cycle. Raising the handlebars on your bike so that you're sitting upright may also help.
An analysis of 14 studies involving more than 90,000 patients with ED confirmed the relation between ED and an increased risk of cardiovascular events and mortality.  Compared with patients without ED, those with ED had a 44% increased risk of cardiovascular events, a 25% increased risk of all-cause mortality, a 62% increased risk of MI, and a 39% increased risk of cerebrovascular events. Treatment of ED, either through lifestyle interventions or by pharmacologic means, may improve prognosis and reduce risk.
Counselling or sex therapy (58% of people find this works for them) –mind-related causes of erectile dysfunction can affect anyone. They are more likely if you experience erectile dysfunction at a younger age. Talking to a counsellor or therapist can help some people overcome erectile dysfunction related to these problems, possibly for good. They can also help you if your erectile dysfunction is causing you stress, as this can make matters worse.
You’ve probably heard of Viagra, but it’s not the only pill for ED. This class of drugs also includes Cialis, Levitra, Staxyn, and Stendra. All work by improving blood flow to the penis during arousal. They're generally taken 30-60 minutes before sexual activity and should not be used more than once a day. Cialis can be taken up to 36 hours before sexual activity and also comes in a lower, daily dose. Staxyn dissolves in the mouth. All require an OK from your doctor first for safety.