Children need to be trained to use the toilet before they go to school. Children will show signs when they are developmentally ready for toilet training. There are several books and videos that help parents to teach their young children this important skill.
Visit these websites for more information:
Toilet Teaching Your Child - Kids Health for Parents, The Nemours Foundation
Toilet Training Your Child - FamilyDoctor.org, American Academy of Family Physicians