The two possibilities are i) Stone in the bladder - would explain the pain on the penis and the blood or it could be ii) Urinary tract infection
. The presence of blood in urine is always something that needs detailed testing. He would need at the minimum an examination of the urine, routine and culture and an ultrasound
of the abdomen / renal system. Do revert with the results. Thanks.