Thank you for asking. I can understand the distress you are through. Firstly, surgery in unrelated to ED. ED can happen to anyone. It is treatable. But before I should comment on it further let me inform you about important risk factors for ED. Stress, anxiety, pornography use, improper masturbation, etc are some important risk factors for ED. Besides, for a healthy sex life, one must have a proper understanding of the differences in the sexual response in female and males, one must be clear of myths and misinformation that is there on media, and most importantly, one must learn an effective ways of seducing a partner. A detailed advice is beyond the scope of this consultion. Ideally it would require an hour long session with a sexologist, an interview for more specific information.
Next Steps
Kindly visit a sexologist. For detailed information, you can consult directly here on practo.
Health Tips
Don't worry. Your problem is completely curable. Don't look for an immediate relief, but look for a healthy long term solution. A detailed knowledge about sex and intercourse techniques is enquired if you genuinely intend to enjoy a fruitful. Sex life.