Plan B twice in same day

I took Plan B earlier today because I had unprotected sex. The condom broke the second time and now I’m thinking I need to take another Plan B, because I’m reading online that I need to take it every time there’s sex without a barrier… even though there was a condom in the beginning, it still broke so do I need another Plan B? Or does the first one work for both times?

According to both my apps, I’m ovulating right now but it’s NOT my highest chance of getting pregnant and it could be false because my periods are very weird and hard to track.