cramps before period ?

My period isn’t due for another week and a half ( 9 days) and I’ve been having cramps. I had protected sex like 2 weeks ago, a couple days after my period ended.

today a thick white discharge came out, should i be worried?