Ovulation?

When is ovulation and can you only get pregnant when your ovulating? I had unprotected sex and there was only pre cum but I’m 3 days late for my period. I haven’t been working out as much and started taking adhd medicine so that could be why it’s late. I don’t think I was ovulating when I had sex 9 days ago. I was supposed to get period 3 days ago.