Plan B! Does it really work?

Hi guys! So I had unprotected s** last week on Monday and I took the pill early morning next day. Is there a chance to save me from getting pregnant. I’m freaking out. Which I did get my period this morning.

I’m currently not on birth control. How does Plan B work?? Please Help! Thank in advance. 💕