Counselling and psychotherapy can help if one of the underlying causes of your erectile dysfunction is psychological. Counselling can also benefit men who have lost sexual confidence, even though their erectile dysfunction is caused by physical factors. Counselling may be provided by your doctor, a psychologist or a psychiatrist. Your partner may also be involved.
Exercise and lifestyle modifications may improve erectile function. Weight loss may help by decreasing inflammation, increasing testosterone, and improving self-esteem. Patients should be educated to increase activity, reduce weight, and stop smoking, as these efforts can improve or restore erectile function in men without comorbidities. Precise glycemic control in diabetic patients and pharmacologic treatment of hypertension may be important in preventing or reducing sexual dysfunction. 
Replacement testosterone is available as oral pills, intramuscular injections, skin patches, and a gel that is rubbed into the skin. Men with low sexual desire and ED may have low testosterone (male hormone) levels. Hormone replacement may occasionally be of some benefit, especially when used in combination with other therapies. Testosterone supplementation alone is not particularly effective in treating erectile dysfunction. Sexual desire and an overall sense of well-being are likely to improve when serum testosterone levels (the levels in the blood) are restored. This can take several months after starting testosterone replacement.
The recommended starting dose of tadalafil for use as needed for most patients is 10 mg taken orally approximately one hour before sexual activity. A doctor may adjust the dose higher to 20 mg or lower to 5 mg depending on efficacy and side effects. Doctors recommended that patients take tadalafil no more frequently than once per day. Some patients can take tadalafil less frequently since the improvement in erectile function may last 36 hours. Patients may take tadalafil with or without food. Tadalafil is currently the only PDE5 inhibitor that is FDA-approved for daily use for erectile dysfunction and is available in 2.5 mg or 5 mg dosages for daily use.
If you’re experiencing psychological ED, you may benefit from talk therapy. Therapy can help you manage your mental health. You’ll likely work with your therapist over several sessions, and your therapist will address things like major stress or anxiety factors, feelings around sex, or subconscious conflicts that could be affecting your sexual well-being.
However, in contrast, a recent systematic review of published studies, the authors concluded that overall, the addition of testosterone to PDE-5 inhibitors might benefit patients with ED associated with testosterone levels of less than 300 ng/dL (10.4 nmol/L) who failed monotherapy.  A limitation of existing studies are their heterogeneous nature and methodological drawbacks.
The role of the endothelium in erectile function became clearer with the observation that the phosphodiesterase type 5 (PDE5) inhibitor, sildenafil, enhanced erectile function. Erection occurs with the release of nitric oxide (NO) from the vascular endothelial cells.17 The reduction in endothelial cell production of NO results in the negative impact on the smooth muscles in the corporal bodies and results in less relaxation of the smooth muscle cells with decrease in blood supply and resulting ED. A similar phenomenon is well known to impact the coronary arterial system resulting in CVD.