Some of the causes of pain with blood in urine can be:
• Kidney stones: can be associated with sudden pain in the groin and flanks
• Infection/stones of the urinary tract: (associated with fever, painful urination)
• Tumors of the urinary tract (associated with abdominal pain, fever, weight loss)
Some of the investigations which can be used for a diagnosis are urine examination, scans, cystoscopy, blood tests etc.
Take care and do write in if you need more information.