Is it possible pregnancy

Zee
So after a miscarriage.. Being told by the doctor every is Clare and good to go. After two of miscarriage you have unprotected sex you take a pregnancy test and it said you positive after two weeks of miscarriage is it possible for you to be pregnant again or the positive test is inaccurate??