Miscarriage

I had a miscarriage on the 24th October bleeding stopped last week had protected sex this weekend I want to try for another baby after Christmas unsure what contraception to take I was on the pill last year but if I take that for a couple of months how long will it take me to get pregnant again