No need to panic. Every one having neck pain and shoulder pain is not suffering from cancer. it’s very common problem specially in IT professionals. It might be related to your posture while sitting in working hours. Observe your posture , take hot fomentation , do Physiptherapy
Next Steps
Consult Orthopaedic surgeon and a physiotherapist
Health Tips
Improve posture , Do try hot fomentation before starting any medication