Congratulations for your pregnancy.
The tablet duphaston
given to you is natural progesterone
tablet and is given in early pregnancy in special situations like yours to support the early pregnancy and to prevent miscarriage
if there is deficient progesterone production from the corpus luteum
which supports the early pregnancy.
It is safe in pregnancy
Hope I have cleared your doubt,