When is the best time to have sex?

Is it while the mucus is stretchy like egg whites or before ?