Bad symptoms

I didn’t get my period for about 2 months (i missed 2 periods) and now that i have it again i have super bad cramps and backaches which i normally don’t get. Is that because i haven’t had it in a while