It does indeed look like an infection which has caused your problem, but other causes also exist like passage of a small stone in the urinary tract
. While it is extremely unlikely to be a cancer, you should ensure that all tests to exclude cancer have been performed. These include a urinary cytology, an ultrasound
of urinary tract, and if required, cystoscopy
with or without a CT scan
. The good news is that most patients eventually find that they do not have any cancer.