You can take the medication on prescription. A combination anti spasmodic for muscle and NSAID will be helpful.
Next Steps
Consult a doctor for detailed opinion
Health Tips
Practise proper positioning during sleep. You can also change your mattress and pillow for your body posture to help alleviate your symptoms