Condom Broke 😞

Guys okay so today i had a d appointment right and when we finished we noticed the condom had RIPPED and now I’m worried. He pulled out before he finished buttt I don’t know how reliable that is. My period ended like a day ago and my fertile window starts on the 27th of this month.... should I be okay or should I get a plan b ???