Thank you for asking. I can understand your concern. The problem of Erectile dysfunction is very common and very much treatable. Stress, anxiety, other lifestyle associated factors are few important symptoms for it. Managing underlying issues is core of the management. With suitable medications and instructions it can be completely cured.
Next Steps
Kindly consult with a sexologist for further management and detailed instructions. For more information regarding this problem you can ask a detailed query here on practo.