plan B and period

Vanessa
So I had sex today and I'm on my period and the condom broke is there a chance for me to get pregnant or should I take Plan B and if I do what will it do?