Welcome to Health Care Magic
You have not mentioned age, gender, duration and so on.
Has heart problem been excluded?
If the cause is only the neck - collar / skeletal muscle relaxants (some act on the cord level) / drugs like gabapentin
raising the pain threshold / traction - can help in the short term
Surgery may be necessary in the long term
/ Orthopaedician will help
Wishing speedy recovery