Any position is okay while pregnant as long as you don't have any health problems. Later on in pregnancy, it may be easiest for the woman to be lying on her side. Laying flat on your back should be avoided.
You can“t avoid pregnancy by using a certain position. The only way to avoid pregnancy is by using a form of contraceptive such as the pill, the condom, or the fertility awareness method.