Pap test

Is it safe to do a Pap smear test in early pregnancy? I've read that they do that when you go to have your first us.