If you get sick while pregnant with some regular thing that you would usually go to your main doctor to get seen for--now that you are pregnant, do you go to your OB instead?

I'm asking by specialty, please answer for either doctor or nurse practitioner within that specialty. Thank you!