Hi, your child has fever and pain at penile region and he is also not passing urine, this is suggestive of urinary tract infection in child or it could be due to renal stones. In my opinion, you should do urine routine microscopy and culture test, ultrasound kub and X ray kub to confirm the diagnosis. Further treatment will depend on above reports. If child is not passing urine than you have to take the child to er. Take care.