Cramping

So I'm on the pill and I've recently had sex with my boyfriend maybe like a week or so ago and I started cramping but my period doesn't come for another 11 days. What's going on?