I find that back pain from sleeping funny only goes away once you have slept again and it has had time to heal. Try Ibuprofen as it is an anti-inflammatory or deep heat muscle rub can be excellent for back pain! Make sure to sleep with a good posture tonight maybe without a pillow if you can! Hope you feel better soon!