Cramps ?

Once you get cramps does that mean your gonna get your period or is it a sign of pregnancy aswell ?