How long after having sex should you take a pregnancy test?

I had sex on the 9th Dec and 20th Dec I want to know what are my chances of getting pregnant and when to take the test as we were not on contraception. My period is not due till 29th