Poor sanitation, improper toilet habits, family history- any of these can cause urinary infections in children. This is a painful and uncomfortable situation which needs to be treated at the earliest.Whenever you observe your child having symptoms like fever, discomfort while passing urine, foul smelling urine, you should visit a pediatrician.