Hello,
Welcome to ehealthforum.
Since you were off the pill for too long and having unprotected intercourse while being off the pill, the chances of pregnancy are high.
Get yourself examined by your gynecologist/healthcare provider to see if you are pregnant and get prescription for the cramps.
Continue with the pills in next cycle if you are not pregnant. Use additional birth control measures like condoms, spermicide or both if having intercourse and on missing the pill for more than 1 day.
Take care.