Does it mean?

When you have cramps or pain in your stomach does that mean you’re ovulating on that day, how do you know for sure that you’ve ovulated on that specific day? I had unprotected sex last night and today i had those cramps/pain so am I ovulating today?, I get confused with ovulation, thank you guys