This is due to either postural issue or bad quality mattress.
Take care of you spine.
Use Hot fomentation for 15min along with Dynapar gel.
Do some flexibility exercises of spine.
If not relieved then you can take T.Mobizox only 1 tab. After food.
Next Steps
Consume a lot of Water or Rehydrate your body.
Health Tips
Use Ideal Posture during sitting/sleeping.
Avoid heavy lifting or push pull till solve the problem.