Plan B Pill

Ariel
So I just recently had sex with a condom but the condom slipped off and he came inside me. My period just ended on the 24 and I'm not fertile untill November 5. Should I still take a plan B pill? Even though my period just ended