A week before and a week after your periods are generally considered safe. But it is important to remember that these days are not 100% safe and not a sure shot way to avoid getting pregnant. This is because there are a number of factors such as hormones and varying cycle lengths at play.