First, the urologist has to assess the patient's testicles by palpation. In this way, he can know the degree of swelling and pain he feels.
Then it is necessary to make a urine analysis to identify the possible pathogenic agent of an infection. It is also recommended to perform a semen analysis where the ejaculate is observed and it is checked for the presence of leukocytes in the semen, which are indicative of an infection.
Testicular ultrasound will allow us to rule out other possible pathologies, such as testicular torsion or testicular cancer.