cramps after sex

I had sex with my boyfriend yesterday & afterwards I felt cramps. It was protected because we used a condom, but what's with the cramps?