No, a girl canât get pregnant if she has sex 2-3 days before she gets her period. She can, however, become pregnant if she has unprotected sex around the time of ovulation. Ovulation occurs 14 days before she gets her period. The two days before and after ovulation are considered to be "fertile" days. If a woman's menstrual cycle is regular, she can track ovulation using the calendar.