Important Pregnancy Question!!

Okay so past few days I've been having lower cramps but not too often but in the night time when I lay on my belly I get little tiny cramps all over my stomach,I've been having pelvic pain too. My period isn't due till 5 days but 2 weeks ago I had unprotected sex,I got my period earlier in the beginning of the month but it was different.. Brown throughout and shorter.. Anyone have this? Thanks. Me and My Husband is just curious.