It's less likely right before your period because ovulation has usually passed, but sperm can live a few days so nothing is 100 percent. My doctor said cycles vary a lot, especially if irregular. If you're trying or avoiding, tracking ovulation is more reliable.