Ovulation help??

Question...

So I’ve seen where you’re suppose to have sex a couple days before during and after ovulation, but how will you know when it’s “before” if you’re irregular and you don’t know before you do an OPK??