Thanks for posting your query.
It may be possible due to urinary infection. (urethritis
Your urine has to examined and if there is a sign of infection then it has to be sent for culture and sensitivity test. According to the outcome of the result treatment has to be planned.
You please meet your physician and he/she will direct you what to do and you will become completely alright.
Wish you a speedy recovery.