Welcome to HCM,
There are many causes of erectile dysfunction
like mainly psychological, smoking
, stress, neurogenic disorders or any other systemic diseases.
doesn't cause erectile dysfunction.
I advise you to avoid the precipitating factors mentioned above.
If no improvement then consult your doctor for detailed evaluation.