Help..

Crystal

Ok so I had unprotected sex with this guy on the 12th of August he came inside 2 times in that day. I didn't take the plan B until exactly 3 days after. I've been feeling light cramps and my boobs hurt every now and then. I'm on days away from my period. How soon can I take the pregnancy test? And is it possible the plan b did not work?