Condom broke

skying

I had sex with my bf yesterday and the condom broke but we realized right at the moment and he instantly pulled out. He didn’t ejaculate and I think there wasn’t precum. I’m not using birth control or anything so I’m worried if I should take emergency pills. I’m thinking about taking an ovulation test just to make sure I’m not ovulating because my period is very irregular so I’m not so sure about the dates. And if I’m not ovulating at the moment I think it’s not necessary to take the pills... What do you girls think???