I’m worried and feeling stupid.

My period just ended 2 days ago and last Sunday my bf and I got a bit frisky and he came in me. I took the morning after pill 12 hrs later. I’m back to bleeding again. What is happening?