I need help

I had a missed miscarriage and had to take the tablets for everything to come out as it didn’t come out. I took the first tablet Wednesday by Friday the bleeding had stopped. I didn’t think you could get pregnant if your had a missed miscarriage straight away. I had unprotected sex with my partner. Friday and Saturday on Saturday I was bleeding loads. Is it possible to get pregnant?