Back pain

I wake up this morning at 5am with bad back pain on my left side of my back. It's like a pressure on my back that hurts. I doubt I'll be able to go back to sleep in this pain. Should I put a cold pack on it?