Plan B

Me and my partner had sex earlier today and the condom broke he immediately bought me a plan B should I be okay?