When to call the pediatrician

Ok so this is probably a really dumb question but ftm so I have no idea what I’m doing! When do you call a pediatrician when you’re pregnant and what do you even say like since you aren’t scheduling an appointment cause you don’t know when the baby will be there exactly so idk Im just confused about the whole thing. Do they come to the hospital to check on baby right after you deliver?