Thanks for posting your query.
With the available described symptoms, there appears to be possibility of epididymo-orchitis
Presence of blood in urine is an alarming sign and it should not be take lightly.
You should consult with general surgeon/ urologist
and should go for thorough check up.
You should go for complete hemogram, urine routine & microscopy, and ultrasound
imaging of lower abdomen and scrotum
You should take complete antibiotic course, hemostatic medications and anti inflammatory medications.
Take plenty of water.
Dr. Mayank Bhargava