Period

So I hadn’t had my period in 11days so I went to the doctor and she prescribed me Medroxyprogesterone to start my period does any body know if that will help me to get pregnant ones I’m done with it and my period starts as normal she also prescribed me prenatal pills