Pregnancy test

If I had sex the first of January would taking a test on the 19th be accurate?