Period or spotting?!??!?!???


So I experienced spotting(panty liner was used) for a few days typically the length of my period. My period wasnt due till next week, was this my period or is it spotting before this has never happened but i do have a very irregular period. And what does this mean