Welcome to HCM.
You will need detailed examination including hormonal
tests, seminal analysis and Colour Doppler study of scrotum
to diagnose your problem.
Most of the time erection problem is due to anxiety, but occasionally it may be due to some organic cause. If you have experienced early morning erections, then organic cause is unlikely.
Pain in the scrotum could be due to varicocele
, which can be confirmed or excluded by Colour Doppler Study.
Consult an Urologist
for thorough checkup.