There must be muscle spasms too, so first rectify the muscle spasm than you can strengthen your neck muscles. That will help you in maintaining it in long term. Reducing the muscle spasm will help you to improve your mobility also.
Next Steps
Consult Physiotherapist in person for assessment and customized treatment plan for you
Health Tips
Maintain your posture while doing daily activities