To become a pediatrician, you would need to go to medical school after completing a four-year undergraduate degree. There's no specific "pediatrics school." Medical school is a general medical education, and then you specialize in pediatrics during residency training.
So the answer is: Medical school, followed by a pediatrics residency.