Big woops

I know that taking emergency contraceptives is most effective within 24 hours. I took it 2 hours after because the condom broke, is it gonna have the same effect because I took it immediately or?

I know this might sound stupid