A common and important cause of ED is vasculogenic. Many men with ED have comorbid conditions such as hyperlipidemia, hypercholesterolemia, tobacco abuse, diabetes mellitus, or coronary artery disease (CAD).  The Princeton III Consensus recommends screening men who present with ED for cardiovascular risk factors; ED may be the earliest presentation of atherosclerosis and vascular disease. 
In fact, one study showed that men who use these medications recreationally, when they’re not really needed, were more likely to develop psychological impotence! Therefore, instead of wasting money, risking one’s physical health and worsening one’s erectile function, men with psychological impotence should opt for treatment strategies that truly address the root of the trouble.
Surgery: If neither drugs nor the vacuum pump works, your doctor may suggest surgery. With surgery, the doctor can place a device in your penis that will cause enough hardness for intercourse. In a few cases, infections may develop after the operation, and the doctor may have to remove the device. Another operation that may help you is rebuilding the blood vessels in the penis to increase blood flow into the penis or decrease blood flow out of the penis. These procedures can help you to get and maintain an erection.
Something else to consider is your porn use. If you are masturbating to very stimulating porn on a regular basis then it might be difficult to get as aroused in the bedroom with your partner. Watching video pornography is very stimulating and often men have difficulty creating that same level of arousal or stimulation with their partners. Consider masturbating without technology as visual images in your head are less stimulating then watching something live. Try this for two weeks and see if your erection quality improves.
The success of treatment for sexual dysfunction depends on the underlying cause of the problem. The outlook is good for dysfunction that is related to a condition that can be treated or reversed. Mild dysfunction that is related to stress, fear, or anxiety often can be successfully treated with counseling, education, and improved communication between partners.
Conditions that may be associated with ED include diabetes, [25, 26, 27] hypertension,  , and CAD, as well as neurologic disorders, endocrinopathies, benign prostatic hyperplasia,  , sleep apnea  , COPD,  and depression (see Table 1 below). [32, 33, 34, 35] In fact, almost any disease may affect erectile function by altering the nervous, vascular, or hormonal systems. Various diseases may produce changes in the smooth muscle tissue of the corpora cavernosa or influence the patient’s psychological mood and behavior.