im stress any advice helps

Eva

hi ladies im 21 years old i have a baby girl whose 3 years old. shes a preme.. we been trying for about a year now to get pregnant. ( what to have them early😊) we finaly got pregnant around the eand of july which i didnt not know😣 i got two ..selective nerve root block injections surgery.. 1 in aug 23 second one in aug 30 and a right knee surgery on sep 5 ...for all 3 they used anesthesia.i didnt find out i was pregnant until sep 14 that i when to my obgyn he gave my the positive test and did a vaginal sonogram and he didnt see a heart beat😢i misscarriage around almost 3 months i got mi first period after the miscarriage on aug 23-28 my obgyn presvibe me metformin today dec 6 does anyone know if that bad while trying to conceive or of side effect for fetus or me ??? does work ?is it good or works to help you get pregnant?