Period Irregularity

(I've been on the pill for 3 years now) I didn't get my period last month but then got it two weeks ago and I just got it again today! Why am I irregular when I've been on it for so long? Also does anyone else get their period a different week than their sugar pills?  Plz help!!😊