Blood in urine should be thoroughly investigated.eseentialy blood is coming from urinary tract that is either of the
kidney, ureter,bladder or utethra.
Get a plain x-ray KUB a Nd USG of KUB region along with urine examination.
Meanwhile can take a antispasmodic drug in consultation with your physician