Pregnancy

Hey I’ve read so much that ‘theres a chance of getting pregnant anytime you have unprotected sex’ but what if you’re not ovulating? How can you get pregnant if your body didn’t release an egg yet??