The best way to prevent pregnancy is to use birth control during intercourse, which can be done by using condoms. You can also take birth control pills or use an IUD to avoid pregnancy. Women who do not want to get pregnant can also take the safe period method of contraception, if their menstrual cycle has been relatively regular, you can calculate their own safe period, the chances of pregnancy during the safe period of intercourse is relatively low. However, it is important to note that intercourse at this time may also be pregnant, so this method is best not used often to avoid pregnancy problems. Women with irregular periods are better off not taking this method, which can also produce a certain chance of pregnancy, for women with irregular periods have a higher chance of conception.