Help!! Plan B?? what will happen?

I need help please? 
Does anyone know how the Plan B pill works? What it does to your body and such?? Will it affect my period?