Thanks for your query.Based on the fact that you have posted it appears that you have some Psychological problem and taking anti Depressant
drugs as per advice of your Psychiatrist
To comment on your problem of Erectile Dysfunction
it is most likely to be due to side effect of these drugs It will be better if you consult your Psychiatrist to modify or change drugs
Alternatively you can tale 5 phosphodiesterase inhibitors like Sildenafil
after consulting him.