Ever gotten pregnant immediately after a miscarriage?

If you have, were you trying? I had a miscarriage December 20th and I think i may be pregnant again, I'm at the hospital now. But i wasnt trying. I only had sex 3 times, and pulled out. I also have pcos which makes it difficult to become pregnant to begin with.