Finding pediatrician

When do you all think is the right time to find a pediatrician?