Pain in the testicles can be caused by minor injuries to the area. Pain in the scrotum can be the result of serious conditions like testicular torsion or a sexually transmitted infection (STI). Ignoring the pain may cause irreversible damage to the testicles and scrotum.

Pain that doesn't require medical care and can be treated at home using the following measures:

1- Wear an athletic supporter, or cup, to support the scrotum.

2- Use ice to reduce swelling in the scrotum.

3- Take warm baths.

4- Support your testicles while lying down by placing a rolled towel under your scrotum.

Sometimes medical tests are necessary to confirm a diagnosis or to help identify another cause for your symptoms. For example:

1- Urine test - This test is used to check for infection.

2- Scrotal ultrasound - This type of ultrasound is used to check blood flow. Decreased blood flow to the testicle is a sign of testicular torsion. But ultrasound doesn't always detect the reduced blood flow, so the test might not rule out testicular torsion.

3- Surgery - Surgery might be necessary to determine whether your symptoms are caused by testicular torsion or another condition.