PLAN B HELP PLEASE

last week the condom broke, I went to take the plan B the next day and a couple days later I got my period , (2 weeks early though). this week (3rd day of period) , we had unprotected sex, stupid, I know, but I took the Plan B pill hours after the sex. but my question is I took the Plan B two Fridays in a row, so is it still as effective????