Serious question

Do I need to have sex the day I'm ovlating or the day before?