Hi there ~
I understand your concerns. Urethral discharge after bowel movements is normal if it is just urine. However, it does not seem to be the case and you seem to have problems with it with every bowel movement and you also have testicular pain
. This would probably be diagnosed as epididymitis
and you will need treatment with antibiotics for the same. However you need to be examined by a doctor who can give you medications after running tests and imaging studies.
I hope this helps. Take care and have a lovely day!