Infection needs to be ruled out. This can be done via a urine test looking for gonorrhea and chlamydia. The prostate can also be palpated or imaged with a transrectal ultrasound. Any prostatic fluid can be sent to the lab for analysis and culture.
With the testicular discomfort, I would also consider a scrotal ultrasound to evaluate for epididymitis.
If infection has been ruled out, a cystoscopy can be considered to evaluate for anatomical causes of the discomfort (i.e. urethral stricture or polyp).
These options can be discussed with your urologist.
Followup with your personal physician is essential.
This answer is not intended as and does not substitute for medical advice - the information presented is for patient education only. Please see your personal physician for further evaluation of your individual case.
Kevin, M.D.
kevinmd_