Generally, sex is allowed throughout your pregnancy. There may become a point it is uncomfortable, and that has to be left to your own judgment. There may also be other issues involved. For instance,...
Day 1-5 after sex you can take the morning after pill which can work before you are pregnant but after that if you find you are pregnant there is only abortion.