Period like cramps today.

We had sex last night and I had just a few drops of light pink spotting. Today I have mild on and off period cramps. Is that from the sex? I'm 4 weeks.