Period in your fertile window

Mo
I have PCOS and have been tracking for perilous for years. This month in the middle of my fertile window, at my peak fertility I get my period. I'm so confused. This has never happened before. I do t even spot between periods. I have not had sex during the window either. Does anyone know why?