Hi, you must be having inter vertebral disc prolapse, so you a muscle relaxant and proper physiotherapy, you can go to some center and learn some exercises a and then practice your own, at home.
Next Steps
Try to prevent strain to your neck, and if more painful then put cervical collar also.
Health Tips
hot. fermentation with Bag and local muscle relaxant ointment you can apply.