Curious .....

How long after having sex can you get pregnant and tell on a test??