what’s the best way to ease cramps and back pain?

i woke up at 4 in the morning last night and i couldn’t do anything about my back pain i was almost to tears i was in so much pain what should i do?