Plan B

If I had unprotected sex yesterday, what is the latest day I can take plan B?