Help please 😓

I had sex last night, the condom broke I’m due to be ovulating today will the morning after pill work?