cramping in back and ribs?

Don't think I'm pregnant because of this but I've missed my period and my sides are cramping and my back is also.