Progesterone

Does being prescribed progesterone in early pregnancy due to low progesterone levels help prevent a miscarriage?