Why did my period come 12 days early

what the hell😭 and last cycle I had mid cycle spotting so hoping it's just that. Idk what's up with my periods lately. Has this ever happened to anyone??