I suffered from sporadic limp dick in my 20s. It was usually when I was nervous because I was with a girl I actually liked. A doctor prescribed me Viagra. When I took it, my whole body went bright red, my nose became so congested that I had to breath through my mouth—almost impossible to do while kissing—and I stayed hard for an uncomfortably long nine hours.
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. 
medicines called alpha-blockers such as Hytrin (terazosin HCl), Flomax (tamsulosin HCl), Cardura (doxazosin mesylate), Minipress (prazosin HCl), Uroxatral (alfuzosin HCl), Jalyn (dutasteride and tamsulosin HCl), or Rapaflo (silodosin). Alpha-blockers are sometimes prescribed for prostate problems or high blood pressure. In some patients, the use of Sildenafil with alpha-blockers can lead to a drop in blood pressure or to fainting
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.
In patients who either fail to respond to first or second-line therapy, or are not interested in the conservative therapies, penile prosthesis implantation is available. Malleable and rigid implants were available for many years, but in 1973 the world of penile prosthetics took a giant leap forward with the advent of the inflatable penile implant. Most implants done nowadays are of the inflatable variety. Adverse events including malfunction and infection are rare, and patient satisfaction is very high.45
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.
Another tip is to make sure you communicate with your partner what you like during the process of sex. Many men are not communicative about what really turns them on. If you are not aroused by what is going on, then you might experience ED. Make sure you tell your partner what turns you on. Communicating about intimacy should also lead to feeling more connected with your partner aiding in relaxing when you are sexual together.
It is normal for a man to have five to six erections during sleep, especially during rapid eye movement (REM). Their absence may indicate a problem with nerve function or blood supply in the penis. There are two methods for measuring changes in penile rigidity and circumference during nocturnal erection: snap gauge and strain gauge. A significant proportion of men who have no sexual dysfunction nonetheless do not have regular nocturnal erections.
"Medications that create blood flow to the penis can't help when an erection is blocked by the fear or anxiety of the fight-or-flight response,” says Feloney. “This type of erectile dysfunction probably has a lot to do with evolution — men didn't need an erection when a dinosaur was chasing them." The best way to treat erectile dysfunction caused by performance anxiety, depression, a poor relationship, or stress may be with a combination of ED drug treatment and sex therapy, individual therapy, or couples therapy from sexual health professionals.
Much of the emphasis on erectile pathophysiology has been placed on penile smooth muscle function and cavernosal hemodynamics. The neuroanatomy and neurophysiology of erection can be characterized but its full extent is poorly understood. Neurologic disease does not always reproducibly affect erections in a uniform manner compared to other types of sexual dysfunction (SD). This offers many obstacles to understanding the role the nervous systems plays in SD and consequently obscures what treatment options readily optimize erections specific to the neurologic insult.
With sex therapy, your counselor looks at the sexual problems you and your partner are having. Sex therapy works with problems such as performance anxiety, which means that you worry so much about whether you will be able to have sex that you are not able to. It also helps when you have erection problems that are not due to physical or drug problems, or premature ejaculation (you come too quickly). It may help you to reach orgasm or to learn to relax enough to avoid pain during sex. Counseling can help you to adjust to the treatment you and your doctor choose.
ED is defined as the inability to achieve a full erection or the inability to maintain an erection adequate for sexual intimacy. Other types of sexual dysfunction such as premature ejaculation and low libido may occur; however, the most common and disruptive problem in men is ED. Although most men will experience periodic episodes of ED, these episodes tend to become more frequent with advancing age.
Alteration of NO levels is the focus of several approaches to the treatment of ED. Inhibitors of phosphodiesterase, which primarily hydrolyze cGMP type 5, provided the basis for the development of the PDE5 inhibitors. Chen et al administered oral L-arginine and reported subjective improvement in 50 men with ED.  These supplements are readily available commercially. Reported adverse effects include nausea, diarrhea, headache, flushing, numbness, and hypotension.
A study published in May 2014 in The Journal of Sexual Medicine found that some men can reverse erectile dysfunction with healthy lifestyle changes, such as exercise, weight loss, a varied diet, and good sleep. The Australian researchers also showed that even if erectile dysfunction medication is required, it's likely to be more effective if you implement these healthy lifestyle changes.
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.