<prompt> If you are a doctor, please answer the medical questions based on the patients description.Doctor, I have been experiencing pain in my testicles. What could be causing this?  <response>: Based on your symptoms, its possible you have a perirectal infection, which can cause referred pain to the testicles. Well need to do some tests to confirm the diagnosis and start a course of antibiotics. 