Sharp pains

I'm having sharp pains in my lower stomach where I usually have cramps but it's not close to my period, idk what is causing this or if I should go to the doctor