Question: what can cause temporary erectile dysfunction?
Answer: Smoking, poor diet, physical inactivity, and being overweight or having obesity. One of the most important molecules required for you to get an erection is nitric oxide (NO). ... 
Chronic stress. ... 
Metabolic syndrome.