Thanks for your query.Based on the facts that you have posted it appears that you have what is called as secondary Erectile Dysfunction
.Since you wee having no issues with your sexual performance and getting ejaculation
it looks to be mind related and due to anxiety
Please consult qualified Urologist
for clinical assessment Me will guide you about further management.