This isn’t all that surprising. When you feel blue and low on energy, it can be extremely difficult to perform at your sexual peak. Furthermore, depression is linked to changes in your brain chemistry and nervous system. Some of these areas also affect your sex drive and ability to have an erection. This means that depression can change the way your brain works, making ED more likely.
Sexual stimulation causes the release of neurotransmitters from cavernosal nerve endings and relaxation factors from endothelial cells lining the sinusoids. NOS produces NO from L-arginine, and this, in turn, produces other muscle-relaxing chemicals, such as cGMP and cyclic adenosine monophosphate (cAMP), which work via calcium channel and protein kinase mechanisms (see the image below). This results in the relaxation of smooth muscle in the arteries and arterioles that supply the erectile tissue, producing a dramatic increase in penile blood flow.
Phosphodiesterase type V inhibitors (PDE-5 inhibitors) are the most commonly used therapy for erectile dysfunction. These medications work by preventing the breakdown of chemicals that stimulate increased blood flow into the penis. Several different PDE-5 inhibitors are available, which differ slightly in how to use them and their side effects. They appear to be equally effective in the treatment of erectile dysfunction in general, but some individuals may respond to one of these medications more effectively than another.
Erectile dysfunction (ED) affects 50% of men older than 40 years,  exerting substantial effects on quality of life.  This common problem is complex and involves multiple pathways. Penile erections are produced by an integration of physiologic processes involving the central nervous, peripheral nervous, hormonal, and vascular systems. Any abnormality in these systems, whether from medication or disease, has a significant impact on the ability to develop and sustain an erection, ejaculate, and experience orgasm.
The primary objective of meditation is to set a person free from the cycle of life's suffering and bring them to a place of bliss, wisdom, and boundless perception. One of the side effects on this path to boundless perception is, for many, boundless boners. To serious meditators—I mean those who seek to unlock the secrets of the universe—this is pretty inconsequential. But for anyone who's struggled with erection issues, it's pretty great.
"Erectile dysfunction can be a very serious issue because it's a marker of underlying cardiovascular disease, and it often occurs before heart conditions become apparent. Therefore, men should consider improving their weight and overall nutrition, exercise more, drink less alcohol and have a better night's sleep, as well as address risk factors such as diabetes, high blood pressure and cholesterol.
Iatrogenic hypotension can occur in men in neurodegenerative disease using sildenafil (49). Hussain et al. placed men with PD and MSA on sildenafil and recorded blood pressure before and after. Half of the 12 MSA patients developed postural hypotension, while none of the twelve PD patients did. Since MSA can be difficult to distinguished diagnostically from PD, baseline blood pressure measurements prior to prescribing the medication and seeking medical assistance if symptomatic hypotension occurred was recommended for all patients with PD, and MSA. Of note, none of the men with MSA who developed hypotension discontinued sildenafil use due to its effectiveness at improving their erections.
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).
The PDE5 inhibitors sildenafil (Viagra), vardenafil (Levitra) and tadalafil (Cialis) are prescription drugs which are taken orally.:20–21 Additionally, a cream combining alprostadil with the permeation enhancer DDAIP has been approved in Canada as a first line treatment for erectile dysfunction. Penile injections, on the other hand, can involve one of the following medications: papaverine, phentolamine, and prostaglandin E1, also known as alprostadil.:25
Exercise your pelvic floor. The pelvic floor helps the penis stay hard during erections by pressing on a vein that keeps blood from leaving until the erection is over. Men who exercise their pelvic floor have better results than those who rely solely on lifestyle changes to correct erectile dysfunction. Perform Kegel exercises to strengthen the muscle.
Adverse effects related to PDE5i use with mild-moderate and transient (58). Furthermore, side effects usually attenuate if use is not discontinued. Autonomic dysreflexia, a life-threatening phenomenon characterized by bradycardia, hypertension, facial flushing and headaches associated with SCI lesions above T6, has not been reported with use. However, hypotension leading to dizziness in individuals treated with sildenafil has been noted with high thoracic and cervical levels of injury (72). No adverse events were noted within the study; however, the dizziness was reported by use of sildenafil 50 mg in the cervical LOI and 100 mg in the thoracic LOI patients. Headache is the most reported side effect of all PDE5i, followed by dyspepsia and flushing. Priapism, and death have not been reported after use of PDE5i by SCI patients.
Neurogenic ED remains difficult to diagnose and treat effectively. It is important to realize that many men with neurologic disorders may have ED related to disease related factors separate from the insult to the neuro-erectile pathway. These disease related factors must be addressed prior or simultaneously with pharmacologic and/or surgical therapy to effectively treat their SD. As awareness of the complexities of normal sexual function increase so will the recognition of SD in this population. This movement will lead to improved quality of life in men with neurologic disorders, as proven by the strong link between sexual function and quality of life.
The Cancer of the Prostate Strategic Urologic Research Endeavor (CaPSURE) study, designed to determine whether an individual man’s sexual outcomes after most common treatments for early-stage prostate cancer could be accurately predicted on the basis of baseline characteristics and treatment plans, found that 2 years after treatment, 177 (35%) of 511 men who underwent prostatectomy reported the ability to attain functional erections suitable for intercourse. 
There are many alternative impotence treatments available but many of them are neither licensed nor legitimate, Beware of sellers offering “herbal” impotence treatments - these remedies do not work and are often sold illegally. You should also be wary of online sellers who offer Viagra and other prescription drugs without asking you for a prescription. Illegal pharmacies often sell counterfeit or fake medication and buying from them could put your health at risk.
Robbins, C. L., Schick, V., Reece. M., Herbenick, D., Sanders, S. A. Dodge, B., & Fortenberry J. D., (2011, December 1). Prevalence, frequency, and associations of masturbation with partnered sexual behaviors among US adolescents. JAMA Pediatrics, 165(12), 1087–1093. Retrieved from https://jamanetwork.com/journals/jamapediatrics/fullarticle/1107656
ED is easily and successfully treated! If your sex drive is unaffected, but you experience problems achieving or sustaining erection for a period of four to five weeks, you may have ED. Talk to your doctor immediately. Don’t delay—erectile dysfunction doesn’t “just go away!” Additionally, ED could be a sign of a serious, even life-threatening complication, such as congestive heart failure or kidney disease. Ignoring your ED because it’s embarrassing could jeopardize your health.
Effective treatment for erectile dysfunction is available, and for most men will allow the return to a fulfilling sex life. The side effects of the treatment for erectile dysfunction vary depending on the treatment that is used. Some may interrupt the spontaneity of sexual activity. For example, PDE-5 inhibitors typically need to be taken one hour before sex. Side effects may include headaches, indigestion, vasodilation, diarrhoea and blue tinge to vision. Other treatments such as penile injections may cause pain at the injection site, or an erection that will not go down. Treatment options need to be carefully discussed with your doctor to determine which one is best suited to you.
Also called vacuum devices, penile pumps are devices that are placed over the penis to draw blood into the shaft. Once the vacuum creates an erection, the retaining band is slid down to the lower end of the penis and the pump is removed. An erection typically will last long enough for intercourse but your penis may be cold to the touch and the rubber band may restrict ejaculation.22
Guilt is a painful and gut-wrenching emotion. It is identified in this article as one of the possible causes of psychological impotence. If your guilt is strong enough, it interrupts the signals between your brain and body, stopping you from getting an erection. It’s almost as if the unconscious mind punishes you by denying you pleasure in response to the guilt that you feel.
As recently as two decades ago, doctors tended to blame erectile dysfunction on psychological problems or, with older men, on the normal aging process. Today, the pendulum of medical opinion has swung away from both notions. While arousal takes longer as a man ages, chronic erectile dysfunction warrants medical attention. Moreover, the difficulty is often not psychological in origin. Today, urologists believe that physical factors underlie the majority of cases of persistent erectile dysfunction in men over age 50.
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.
This category of treatments includes external vacuum therapies: devices that go around the penis and produce erections by increasing the flow of blood in, while constricting the flow out. Such devices imitate a natural erection, and do not interfere with orgasm. External vacuum therapy mechanisms are approximately 95 percent successful in causing and sustaining an erection. All are portable, and costs range between $200-$500, covered under most insurance plans and Medicare Part B.
If you have a neurological disorder or spinal cord injury and other erectile dysfunction treatments aren’t effective, two types of surgical implants could offer solutions to your ED. “An implantable pump can be used to manually create an erection by pumping fluid into cylinders placed inside the penis,” explains Feloney. “The other option is a malleable prosthesis that works like a gooseneck lamp to direct the penis into position for intercourse." Risks for these ED treatments include infection and mechanical breakdown.
When other treatments haven’t helped, a penile implant may be the right solution. A penile implant is a medical device that is surgically placed into a penis to mimic the look and performance of a natural erection9. Implants are custom-fitted to your anatomy. Sensitivity and the ability to ejaculate aren’t typically affected either, so you’ll be able to have an orgasm normally (unless you have a medical condition that prevents this)7.
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.
Additionally, the physiologic processes involving erections begin at the genetic level. Certain genes become activated at critical times to produce proteins vital to sustaining this pathway. Some researchers have focused on identifying particular genes that place men at risk for ED. At present, these studies are limited to animal models, and little success has been reported to date.  Nevertheless, this research has given rise to many new treatment targets and a better understanding of the entire process.
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.
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).
Viagra is available in three strengths: 25 mg, 50 mg, and 100 mg. Viagra works best if taken on an empty stomach about 30-45 minutes before sexual activity. Optimal results may not be realized until the medication has been tried six to eight times. Viagra may be used cautiously with alpha-blocker medications as long as sufficient time has passed between their dosing.
There are also alternative treatments, such as using a penis pump or a penile injection. Penis pumps work by creating a vacuum and thereby causing more blood to flow to your penis. Penile injections need to be used shortly before intercourse. They contain a medication which widens your blood vessels. A doctor’s prescription is needed for the injections.
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
Begot, I., Peixoto, T. C. A., Gonzaga, L. R. A., Bolzan, D. W., Papa, V., Carvalho, A. C. C., ... & Guizilini, S. (2015, March 1). A Home-Based Walking Program Improves Erectile Dysfunction in Men With an Acute Myocardial Infarction. The American Journal of Cardiology, 115(5), 5741-575. Retrieved from http://www.ajconline.org/article/S0002-9149(14)02270-X/abstract
In the short term, alcohol relaxes muscles in the penis, letting blood to flow in (which is a good thing). However, alcohol also prevents other blood vessels from closing and trapping all the extra blood. Erections depend on trapping increased blood flow in the erectile tissue of the penis. If you don’t trap that extra blood, you don’t get an erection. In the long run, excessive alcohol consumption can cause liver scarring, high blood pressure, and can damage your blood vessels resulting in erectile dysfunction.