Testicular pain can be due to injury, infection (Epididymitis or Orchitis) or inflammation, testicular torsion -- most common in young men
between 10 and 20 years old, excessive bicycle riding, hernia or kidney
or ureteric stones.
Are you having painful, red or swollen scrotum along with testicular pain. It can be epididymitis or orchitis.