Started my period 10 days early

so i know i’m probs answering my own question but ever since i started bc i’ve been good about taking it but this past month i’ve been really bad because i threw up once for like four days since i took two (which i’ve done many times and been fine) so i would be scared to take it so i’d sometimes skip a lot. so since i was bad with it this month is that why i started early? this hasn’t happened to me before