There are quite a few reasons for neck pain . As in ur case its been since years , u need an objective examination done by a orthopaedician and if necessary a neck x ray and /or MRI . If u r working for long hours in a specific posture u need that posture correction . If possible you can also go for a chiropratic adjustments with a certified chiropractor or a physiotherapy session in IFT for your neck
Next Steps
Examination , chiropractic adjustments , physio.