Best time for sex around ovulation?

When is best to have sex? Before/after ovulation or soon as you get a positive ovulation test?