Thanks for your query.
Common causes of painful urination with some blood are infections, stones in the kidney
or bladder or cancer.
If the problem persists please get an ultrasound
or a CAT scan of the kidneys, ureter
and bladder. This will pick up any structural problem.
I would also recommend a routine gynaecological evaluation.
Hope this helps