Ovulation

My text showed positive smiley face 😃 so how long do I have to have sex before the peak is over?Â