Need advice!!!

So I'm TTC with PCOS. I don't usually get my period unless I take provera. Well sunday I got my period! Which is great!!! So I called the doctor and told him and asked if I should still take the clomid on day 5 and he said yes but also said I should have been testing for ovulation prior to my period?! If I was getting regular periods I would understand, but this is not the case. Did I just miss my opportunity to test or should I be testing after? I'm so confused and upset that I screwed it all up.... Any advice would surely be appreciated!