Stomach and back pain?

This is the second day in a row I have had stomach and back pain. And today it had worsten. I feel like I have to throw up. And last night I woke up in the middle of the night because my back was hurting so bad... Does anybody know what could be causing this?