Periods

I took 2 of my sugar pills but didn’t want my period for this weekend is a started a new pack and still got my period and idk why and when will my period end because I’m taking active pills right now can someone help me understand this lol