First, testicular torsion must be ruled out by your physician.
After examination, other tests might be asked.
Other problems might cause testicular pain such as infection, torsion of the testicular appendix .....
Extra-testicular problems can also induce testicular pain like kidney, prostate and neuro-muscular problems.
So, I encourage you to see your doctor who can diagnose your problem
•