I am sorry for your story but you do not have to panic, ever.
Have a general check up, sometimes we blame an effect to the wrong reason > get a real diagnosis signed by at least two doctors.
Do not go by trial, the only trial you could do is do nothing
Avoid using your penis for any activity different from pissing
Avoid bad food, smoke and coffee
Avoid having a nice woman in your bed if you cannot make love to her
That alone could make impotent any one
Avoid any medication if you are not clearly certified what is your sickness
Do not pretend this problem has nothing to do with your nerves: even if it had not, now it has
Nature is the best doctor
time does most of any job
trust your self and nature: you will see that things will get better shortly
Don’t worry too much, see another doctor