So confused!

I took clomid 100mg CD 5-9. I’m on CD24. I had such intense cramping last night. We BD a few hours before. I woke up and took an opk and it was positive and switched it in my log and now says I’ll ovulate tomorrow and my period got pushed way back. I usually have a normal 30 day cycle.