After ovulation, the ruptured follicle transforms into the corpus luteum, which secretes progesterone. Progesterone stabilizes the uterine lining and prepares it for potential implantation of a fertilized egg. If pregnancy does not occur, the corpus luteum breaks down, leading to a drop in progesterone and the onset of menstruation.