Not really sure what happened

I am currently taking birth control pills. I am sometimes really bad about taking them, but I always double up the next day. So I was on the second week of my pills and I got my period. Bizzare! I was just wondering if anyone could explain what was going on?? Thanks