Should I buy plan B?

I had unprotected sex and my boyfriend didn't cum but I had cramps that night and the next day should I take Plan B?