Concept:
Oral contraceptive pills contain hormones that prevent pregnancy.
Step 1: Ovulation means release of ovum from ovary.
Step 2: If ovulation does not occur, fertilization cannot take place.
Step 3: Oral contraceptives suppress pituitary gonadotropins such as FSH and LH.
Step 4: This prevents ovulation.
Step 5: Therefore, oral contraceptives mainly prevent pregnancy by preventing ovulation.
\[
\boxed{\text{Preventing ovulation}}
\]