Plan B

so like one of my worst nightmares happened earlier this week which was the condom broke. i was still on my period but i know you can still get pregnant even on your period. i decided to take a plan B and that was my first time taking one. i took it the morning after not even 24 hours past that it happened. do you guys think i’m going to be okay? im really stressing about it and it’s also because i’m not on birth control. im planning on getting on it if i get my period next month which i hope i do.