Best time to have sex?

Will it be more effective if I have sex a few days before ovulation or during the time I'm ovulating?