It could be your period coming if you are not regular.
Hello,
This cramping can be due to ovarian cysts or due to implantation of the egg as well especially when there is a history of unprotected intercourse. You can confirm it by getting your HCG levels checked by urine test or a blood test for pregnancy.
It is very difficult to precisely confirm a diagnosis without examination and investigations and the answer is based on the medical information provided. For exact diagnosis, you are requested to consult your doctor. I sincerely hope that helps. Take care and please do keep me posted on how you are doing.