picking a pediatrician?

I went into labor and delivery for preterm contractions a while ago (I'm fine now) but they asked who my baby's pediatrician is? I said I have no idea? They said I better hurry and pick one. (I'm 27 weeks) what do I just call a pediatrician and ask if they'll be my baby's doctor when he's born? I'm so confused.