avoiding pregnancy

when is the best time to have sex throughout your cycle to avoid pregnancy? we’ll be wearing a condom and i’ll ask him to pull out, but is it best to do it before ur period, after?? i looked up info about ovulation and it was kind of....complicated haha. hoping you guys could help a girl out, thank you!!