Should I take a plan b?

Was having sex and when boyfriend pulled out the condom rolled off but didn’t come off the tip, he didn’t cum either, should I take a plan b?