It is advised to always use some form of contraception at all times of a woman's cycle. The fertility window generally falls between the 11th and 21st days. If you are having sex during your period and it lasts five to seven days, you’re approaching your fertility window, which means you can still get pregnant since sperm can live up to five days.