Why do my period days keep changing?

I've always had irregular periods and since December, they've started becoming regular (always starting on the 22nd). I started my period today, which throws everything off again. I don't get it.