A good indicator that "everything is in working order" and that it is probably a psychological cause is if a “morning erection” is still experienced. Feelings like fear, anger, distress and anxiety cause part of the nervous system to come into play which directly blocks the action of another part of the system involved in creating an erection. This is a natural reaction – our ancestors would find it more difficult to run from a predator with an erection in the way!
If you can keep an erection when you’re alone, then you’re probably worried about something when you’re with your partner. Think about how you feel and then talk to your partner about your concerns. You might be putting too much pressure on yourself or not protecting yourself by using condoms and birth control. Or maybe you’ll discover that you’re really not ready for sex right now and need to wait until it feels right.
How soon the drugs start working ranges from 15 to 60 minutes. Neither Viagra nor Levitra will work if you take them after a meal, which blocks their absorption. However, neither Cialis nor Stendra interact with food this way. The onset time determines how soon you can engage in intercourse. Stendra and daily-use Cialis are closest to being an "on demand" erectile drug; using the others requires more planning.
Another study compared the response of surgically and medically castrated rabbits to vardenafil with that of control rabbits.  Castrated rabbits did not respond to vardenafil, whereas noncastrated rabbits did respond appropriately. This result suggests that a minimum amount of testosterone is necessary for PDE5 inhibitors to produce an erection.
The role of the endothelium in ED has been noted for a number of years and the overlapping of ED and other conditions, especially coronary heart disease, CVD, affecting endothelial function/dysfunction, is clearly present. The endothelial cell is now known to affect vascular tone and impact the process of atherosclerosis, and impacting ED, CVD and peripheral vascular disease.16
Years ago, the standard treatment for impotence was an implantable penile prosthesis or long-term psychotherapy. Although physical causes are now more readily diagnosed and treated, individual or marital counseling is still an effective treatment for impotence when emotional factors play a role. Fortunately, other approaches are now available to treat the physical causes of impotence.
The association between low testosterone and ED is not entirely clear. Although these 2 processes certainly overlap in some instances, they are distinct entities. Some 2-21% of men have both hypogonadism and ED; however, it is unclear to what degree treating the former will improve erectile function.  About 35-40% of men with low testosterone see an improvement in their erections with testosterone replacement; however, almost 65% of these men see no improvement. 
Malleable implants usually consist of paired rods, inserted surgically into each of the corpora cavernosa. The rods are stiff, and to have an erection, one bends them up and then when finished with intercourse one bends them down. They do not change in length or width. The malleable implants are the least mechanical and thus have the lowest risk of malfunction. However, also have the least "normal appearance."
Remember those cultural messages we discussed earlier, about how men are wild sex aliens from the planet Weenus? Well, men are raised hearing those messages, too, and they can end up screwing with their sexual self-image —for instance, they can lead men to obsess over their own virility, and panic about impressing a new partner, until they've thought their boner into a corner and can't get an erection. Performance anxiety is one of the most common culprits behind lost erections, especially among younger, less experienced men.
While pills for ED are convenient, some men sustain stronger erections by injecting medication directly into the penis. Drugs approved for this purpose work by widening the blood vessels, causing the penis to become engorged with blood. Another option is inserting a medicated pellet into the urethra. The pellet can trigger an erection within 10 minutes.