Especially if the pain is unilateral and severe. You want to make sure you have good blood flow to your testicles. Testicular Torsion is an emergency and would require prompt surgery
to save the testicle. Usually this pain is very severe. Other causes of less painful and more aching type of pain are infectious from STD or UTI.