TTC newbie

Hi! I'm new to this TTC business and as helpful as Dr. Google is I'm still confused. Is it better to have sex the day before ovulation or the day of?