Ovulation

How do I know I’m ovulating and when to have sex?