Medication while pregnant

I am on subutex and have been for about 3 years now, this pregnancy wasn’t planned.. but I’m so scared my baby will end up in the special care nursery because I’m on subutex... is anyone else on this medication? Doctor told me I cannot stop taking it now until after I have the baby!