You can get pregnant when having unprotected sex at any point during your cycle. 4 days before your period is unlikely to result in conception as you most likely already ovulated. After your cycle, if you mean 4 to 7 days after your period, then this is a possible time as sperm can live about a week. good luck