when is best time to have sex?

I have heard you should have sex on the day you ovulate..but then my dr said have sex every other day and not on the day. for example if I am supposed to ovulate on saturday..i should have sex on wednesday, friday, and sunday. What has everyone else heard?