Thanks for your query.based on the facts that you have posted it appears that you have Hematuria
and pain due to urinary stones.
Please consult qualified urologist
for evaluation ad further treatment.
You may need to get investigated thoroughly to come to conclusion.and before deciding the mode of treatment.