How many days after sex can you get pregnant ?

Is there a time limit