I messed up the pill

I started the pill on my period but didn't start on the sugar tablets and  went straight onto the hormones. I majorly stuffed the pack up and was up to the sugar tabs and still had 10 days before my period so I started a new pack. Is that okay?