Based on the facts that you have posted you have problem of Erectile Dysfunction
and you have been prescribed some drugs by your Dr to raise the sperm count
and to resolve problem of erectile dysfunction.
To be true there is no medicine that can increase the sperm count or resolve erectile dysfunction.
In absence of any organic cause All the problems that you are facing now are mind related and due to anxiety. Following measures will help to boost up your level of confidence and allay anxiety and there by improve your sexual performance,,improve the quality of sperm and resolve erectile dysfunction,
1) Practice moderate exercise for 45 minutes followed by meditation
for 1/2 hour.
2) Take high protein diet rich in vitamins A,C,E,D.fruits and vegetables .
3) Avoid alcohol and smoking .
4)Take some anti oxidants like Almonds 5-6 everyday.
Consult qualified infertility
specialist and sexologist
for proper evaluation and advice