How stress affects the menstrual cycle