hi.. i have understood your concerns..
the causes for
erectile dysfunction must stress related to loss of job and worries about the after effects of it..
when a person has something in his mind, which continues to bother him then he might be distracted in every activity and gradually loose interest and started feeling sad...in your case
depression may be the cause of erectile dysfunction..
other possibility is a vicious cycle of anxiety and poor sex performance...so when person has anxiety about sexual performance, he is distracted and may loose erection in between or even complete absence of erection may be there..
so remove worries from your mind about erection..deal with your social problems...
u shud spend lot of time in foreplay before the penetrative sex..and in my opinion u shud
consult a sexologist and go for dual
sex therapy counselling..it will teach you the sex ans an erotic art of love...and all your problems will go away..
if..u are not willing for sex counselling then u can go for viagra, which shud be taken before each penetrative intercourse...
i hope u ll find this advice helpful...best luck...