Thanks for query,
may cause pain during urination but does not have any effect on intestine.
The symptoms you have more likely give diagnosis of intestinal infection like amoebiasis
You should consult your doctor to rule out it.
He will advise you for stool test
& prescribe you medicines for it.