Would the plan b work?

I didnt get one yet but I’m considering. Would it work if I’m in my fertile window, the app says I’m supposed to ovulate tomorrow I don’t use ovulation kits or anything so idk when I will for sure. But he came inside like 12am Friday and 1am today, would I be able to take one at it works?