Help plz🥺😫

So me and my boyfriend had sex and the condom broke and he had some pre cum that probably went inside me and I think I’m ovulating, my eve says I don’t ovulate till tmr but I’m scared. Will the pill work ?😭I’m not on any type of birth control. So if I take the pill now will it work ???!!