HELP!!

For about 2-3 days I've been having stomach pains on and off sometimes it's cramps and sometimes I have to go to the restroom (if you know what I mean) but today I saw that I was spotting but my period ended a week ago and only lasted about 3 days, but lately my cycle has been changing from the dates all the way down to the duration but I've never had back to back cycles. And I have been having unprotected sex for several months on and off but he pulls out could I be pregnant helpppp