Hi,
The pain, correlated with the blood in urine, can indicate a kidney infection or a kidney stone.
You will need to have an X-ray done to identify the presence and location of the stone and to check whether it
is placed such that it can obstruction to outflow of urine.
Obstruction to flow of urine can cause a condition called hydronephrosis and can eventually cause damage to
kidney function.
You will need to consult a urologist for further investigations and management in this regard.
Do keep us posted on any further doubts.