Contraceptive pills are divided into long-acting pills, short-acting pills and emergency pills, and the duration of action of different types of contraceptive pills varies. Long-acting contraceptives can last up to one month and contain a large amount of hormones, which can cause side effects such as dizziness, nausea and menstrual disorders. It is recommended that women stop taking long-acting contraceptives for 3-6 months before getting pregnant. Short-acting contraceptive pills have a short duration of action and must be taken every day on time. Fertility can be restored soon after stopping the pills, and short-acting contraceptive pills have fewer side effects. Emergency contraceptive pills need to be taken orally within 72 hours after intercourse, and the earlier the oral contraceptive is taken, the better it is, and having intercourse again after taking emergency contraceptive pills may lead to contraceptive failure. In conclusion, there are many methods of contraception, besides the pill, there are also condoms, diaphragms, IUDs, surgery, etc. It is recommended to choose the right contraceptive method under the guidance of a doctor.