Hi.
Thanks for your query.
This is a very classical symptoms of a condition called
prostatitis, meaning inflammation or congestion of the prostate.
This is the reason you are getting pain or soreness in the testicles area after you pass the urine only in the morning as the congestion increases throughout the night as the bladder gets distended.
The same thing occurs when you have sexual intercourse hence the pain at the time of ejaculation.
Rest of the times one passes urination the moment he feels so not allowing the prostate congestion to occur.
The pain in the testicular are is usually
referred pain originating from the congested prostate and there is a chance of
epididymo-orchitis due to back -flow infection .
I would advise you the following:
First of all get the Urine tested for routine, microscopy, culture and sensitivity before the antibiotic is started to get the correct results.
Tests of blood.
Ultrasonography and color doppler test of the scrotum - testes,
epididymis , and abdomen for the urogenital system can help to get a proper diagnosis and to get a treatment as per the physical findings and investigations reports.