How soon are you suppose to have a pediatrician?

I have no idea when I should have a pediatrician lined up for after I give birth. What’s the process with it? When is the first time they go to the dr. once they’re born?