Is your erectile dysfunction due to psychological (stress, relationship problems, etc.) or physical factors? Your doctor may ask if you note erections at night or in the early morning. Men have involuntary erections in the early morning and during REM sleep (a stage in the sleep cycle with rapid eye movements). Men with psychogenic erectile dysfunction (erectile dysfunction due to psychological factors such as stress and anxiety rather than physical factors) usually maintain these involuntary erections. Men with physical causes of erectile dysfunction (for example, atherosclerosis, smoking, and diabetes) usually do not have these involuntary erections. Men with psychogenic erectile dysfunction may relate the onset of problems to a "stressor," such as failed relationship. Your doctor may suggest a test to determine if you have erections during sleep, which may suggest that there may be a psychological cause of the erectile dysfunction.
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.
Tadalafil (Cialis) is the third oral medicine approved by the U.S. FDA for the treatment of erectile dysfunction. Like sildenafil (Viagra) and vardenafil (Levitra), tadalafil inhibits PDE5 (as described earlier). Unlike the other PDE 5 inhibitors, patients should take tadalafil once daily and is approved for the treatment of BPH (benign enlargement of the prostate).
The lab testing obtained for the evaluation of erectile dysfunction may vary with the information obtained on the health history, physical examination, and recent lab testing. A testosterone level is not necessary in all men; however, a physician will order labs to determine a patient's testosterone level if other signs and symptoms of hypogonadism (low testosterone) such as decreased libido, loss of body hair, muscle loss, breast enlargement, osteoporosis, infertility, and decreased penile/testicular size are present.
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.
Both ED and low testosterone (hypogonadism) increase with age. The incidence of the latter is 40% in men aged 45 years and older.  Testosterone is known to be important in mood, cognition, vitality, bone health, and muscle and fat composition. It also plays a key role in sexual dysfunction (eg, low libido, poor erection quality, ejaculatory or orgasmic dysfunction, reduced spontaneous erections, or reduced sexual activity). 
Endocrine evaluation consisting of a morning serum testosterone is generally indicated. Measurement of serum prolactin may be indicated. A low testosterone level merits repeat measurement together with assessment of luteinizing hormone (LH), follicle-stimulating hormone (FSH), and prolactin levels. Other tests may be helpful in excluding unrecognized systemic disease and include a complete blood count, urinalysis, creatinine, lipid profile, fasting blood sugar, and thyroid function studies.
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!
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
Conditions associated with reduced nerve and endothelium function (eg, aging, hypertension, smoking, hypercholesterolemia, and diabetes) alter the balance between contraction and relaxation factors (see Pathophysiology). These conditions cause circulatory and structural changes in penile tissues, resulting in arterial insufficiency and defective smooth muscle relaxation. In some patients, sexual dysfunction may be the presenting symptom of these disorders.
Maybe you're worried that if your boyfriend can use "love" on chicken wings and beer and last night's Game of Thrones, then it means less when he says that he loves you. The thing is, we don't really have a word that's more profound. He's working with all we've got. But maybe you think it means even less when he says it all the damn time. Your boyfriend is coming on so strong that you may not trust that he feels the love every time he says it. And maybe you worry it's more about his insecurity, his need to hear you say it back.
Medical conditions, such as hypertension, diabetes mellitus, and cardiovascular disease (CVD), and psychological conditions, such as depression and anxiety, also contribute to sexual dysfunction in middle-aged or elderly men. CVD and hypertension cause a narrowing and hardening of the arteries, leading to reduced blood flow to the corporal bodies, which is essential for achieving an erection. Diabetes is a common aetiology of sexual dysfunction, because it can affect both the blood vessels and the nerves that supply the penis. Men with diabetes are four times more likely to experience ED, and on average, experience ED 15 years earlier than men without diabetes.7 Obesity is also correlated to the development of several types of dysfunction, including a decrease in sex drive and an increase in episodes of ED.8
Parasympathetic input allows erection by relaxation of trabecular smooth muscle and dilation of the helicine arteries of the penis. This leads to expansion of the lacunar spaces and entrapment of blood by compressing venules against the tunica albuginea, a process referred to as the corporal veno-occlusive mechanism. The tunica albuginea must have sufficient stiffness to compress the venules penetrating it so that venous outflow is blocked and sufficient tumescence and rigidity can occur.
The 4 ED medicines we prescribe – Generic sildenafil 20 mg, Viagra (also sildenafil), Cialis (Tadalafil), or Levitra (Vardenafil) - are generally safe but shouldn’t be used as recreational drugs. They’re meant to treat a medical condition and can cause serious side effects including but not limited to an erection lasting more than four hours, sudden loss of vision in one or both eyes, and sudden decrease or loss of hearing.
Having erection trouble from time to time isn't necessarily a cause for concern. If erectile dysfunction is an ongoing issue, however, it can cause stress, affect your self-confidence and contribute to relationship problems. Problems getting or keeping an erection can also be a sign of an underlying health condition that needs treatment and a risk factor for heart disease.