Hello,
From the symptoms it can be due to
urinary tract infection or prostatitis.
Symptoms of UTI are frequent urination, burning sensation during urination, passing of blood in urine and even fever. The most common causes of repeated UTIs are kidney stones and diabetes mellitus. Making a diagnosis of a urinary tract infection includes performing a urinalysis test, which checks for the presence of pus, white blood cells, and bacteria in the urine, which point to a urinary tract infection.