Thank you for asking. I can understand the distress you are through. Erectile dysfunction problem can be a symptom of underlying depression as well. So if you have discontinued the medication, and the underlying depression problem has flared up, the problem of Erectile dysfunction can be there.
Next Steps
I would suggest you to consult with a psychiatrist for further management.
Health Tips
Don't worry. It is treatable.