Welcome to HCM. You should get yourself clinically examined. There are many causes for pain in the testicles like trauma, orchitis
, testicular tortion, epididymitis
, inguinal hernia, etc. Once you are assessed clinically you will be diagnosed and treated.
For loose stools you can take metronidazole
tabs ( before taking medicines consult your doctor and take prescription) to get relief.
Take home made boiled food and avoid spicy, oily, junk food. Keep yourself hydrated, take care.