Hi,
You should consult your physician and get yourself clinically examined and relevant investigations needs to be done to find out the cause of pain and blood.
Basic tests like USG abdomen,
complete blood count, esr and urine culture and routine microscopy, blood culture and may be done.
Take plenty of oral fluids and healthy balance diet.