When to have sex

Soon will start new cycle and this will be 4th month trying and have tried sex every other day or a few days everyday before ovulation, on ovulation and day after and used clear blue digital opk but I want to ensure most and optimal sperm is around so how often and when to have sex?