Plan B pill

Patient: Im 16 yrs old. and i had sex but the condom broke so my boyfriend came on me. i took about 6 borth control pills when i was 13 to regulatey period but i fainted so i stoped taking them. i have no allergies. and im not on medicine. would it be safe to take plan b the mornimg pill ? & also does the pill prevent future pregnancy ?