though you have IBS
, your symptoms seems to be more of urinary infection.
Please see a nephrologist
or a urologist
it can be anything that is causing the bleeding.
have good amount of water intake to flush out the blood in your urine else they may form clots if they remain for a long time.
wish you good health.