A little confused.

So me and my hubby have been ttc for a while now and I've recently started to use opks. Anyway I tested yesterday and it was positive, so we had sex then I've tested this morning and it's negative again. My question is did we miss our window or catch it just in time? These opks are new to me and I'm just trying to get the hang of them. Tia xx

EDIT: according to this app I'm due ovulate today.