You seem to have erectile dysfunction which could be secondary to psychological issues. Psychological issues is common reason of erectile dysfunction in young age. Although other factors need to be ruled out.
Next Steps
Consult a Sexologist or Psychiatrist.
Health Tips
Fear of having some disease increases anxiety which might contribute to erectile problem.