Thank you for your query on Healthcare Magic.
It seems your child having painful micturition with bleeding.
The causes for this symptoms are :
1. Urinary tract infection
2. Stone in urethra
4. Local infection like balaoprosthitis
5. Local small laceration or a tear due to manipulation ir scratching.
6. Phimosis- narrowing of the prepuce opening
Child requires examination locally to look for any local causes for his symptoms.
A complete urine examination has to be done to find any signs of urine infection.
Give plenty of oral fluids to increase his urine output which leads to flushing
of the infection.
And nothing to worry, consult the Pediatrician
in the morning for physical examination and further management.
Hope I have answered your query.