Consulting an Orthopaedic spine surgeon would be ideal. In majority of cases the symptoms are secondary strain in the neck muscles. Additional degradation of the cervical spinal vertebrae may require imaging studies such as X-ray or MRI which the doctor can advise you if needed.
Next Steps
In your case local icing, use of collar if episodic giddiness/dizziness present and oral medications (oral analgesic). Once pain reduces, some form of strengthening exercise would be needed.
Health Tips
Avoid strenuous activity such as lifting weights, attempting to reach for objects at an height. Avoid heavy backpacks and sling bags. Better to avoid frequent bumpy rides. Consult a physio to start neck muscle strengthening after reviewing once with Orthopaedic surgeon regarding causes of pain.