Condom broke

i need advice.. earlier today i was having sex with my boyfriend but about a few minutes into it he noticed the condom broke and he stopped right after he noticed but there was no ejaculation. is there a chance i could be pregnant and if so should i get a plan b pill? my cycle just ended 2 days ago