progesterone while pregnant?

Mikayla

I saw a post a few days ago and the lady said once her doctor confirms she is pregnant she starts progesterone.. I asked what the use of progesterone was for but never heard anything. can someone explain went you might take it while pregnant?