Thanks for posting on HCM,
The most common cause of testicular pain
which could be very much associated to orchitis
. So saying if your testes are painful then you are having an inflammation/infection and if require antibiotics to cure it. Recurrence to previous infection is also elevated ones you have had a previous infection. Depending on your age (>40), I suggest you get consulted by a urologist
to screen for associated prostate
disorder and also to provide treatment for your testicular infection. What could be causing your urge to have a BM is the pain generated along your groin region or testes. There is no direct correlation (in my medical knowledge) between BM and testicular pain except of course there is an associated bowel disorder.
In any case get examined by a doctor for immediate treatment.
Hope this helps