help!

I had sex yesterday and im not sure if it was the last day of my period, i took a plan b 10 hours after:( do u think it will work?