The type of pain that you are describing especially the one which changes in severity by movement suggests a musculo-skeletal origin. You might have hurt your spinal bones while having an awkward posture. You will need to undergo an MRI
to identify what actually went wrong. As of now, you need to take some bed rest
over your back. If the symptoms persist over 3-4 hours, you should visit emergency department.
Hope I am able to solve your concerns.