Should I test?

Charron

I had a d&c; on July 12. I was 8 weeks pregnant but the baby stopped growing at 6 weeks and 6 days. I had sex July 22 (one week after surgery), July 29, august 1, and just yesterday. They say your ovulation is all messed up after a miscarriage and d&c;, when can I take a test. I did have my period the 24-27 (which I think was my period). When should I take a pregnancy test or should I just wait it out?