The birth control pill works primarily by preventing ovulation. The hormones in the pill also thicken cervical mucus, making it difficult for sperm to enter the uterus, and thin the lining of the uterus, making it less likely for a fertilized egg to implant. These mechanisms together make the pill highly effective when taken correctly.