How do I calculate my cycle?

Mary

The last time I actually had my period was October 14 - 20. Around the beginning of November I was on and off sick with sore throat and the typical cold symptoms but my period that was suppose to start on the 12th of November did not start.

Instead I had a discharge show from November 5th - 9th that was ranging from yellow, pink, brown, dark brown like snot, blood red, brown, pink and yellow until it fizzled out.

After that I started getting really sick and my discharge was dry until just these pass couple of days recently it has been clear like egg whites. I thought I was in my ovulating phase yesterday (Nov. 25) and when I input that discharge show as my period it says I would be ovulating now but won’t start my next period until December 5th.

However today at work I felt better from being sick but I had really bad cramps and it felt like I peed myself so when I went to the bathroom I had started my period. So my questions are did I have two periods this month? Did I change cycles? How do I calculate this month?