RAINBOW BABY!!

Tiffani
Just found out I am pregnant with my rainbow baby! Now I have a question and I wonder if any of you ladies can answer it for me! 
I've had two miscarriages prior and my last one, the doctor (who was just... an idiot to say the nicest) told me I should have been put on a medication that is supposed to strengthen everything for the baby. She told me as soon as I get pregnant again I need to immediately be put on it, now since I'm not sure if I should see a doctor right away or wait a little bit.. I thought I'd come here and see if anyone may know what that medication would be?? 
Anythings helpful! Thanks ladies