Pediatricians will get paid a stipend to live on while they are doing their residency. The will get paid less than an actual pediatrician and may receive between $30,000 to $45,000 a year, but that will depend on where they do their residency.
After doctors graduate medical school, while they are in residency, they do get paid. They don't get paid much, but they do get a paycheck. In the case of pediatricians, the last 3 years of that 11 years are paid.