Hey Pallavi,
Mckenzie is one of a well known way to eliminate pain by treating the root cause. Most back and neck pains are reduced by bending back. There is something called as mckenzie exercise in which you need to lie down facing down on mat, palms placed on ground and elbows bent. Then slowly come up lifting your body with your hands and look upwards as the 7 th position of Suryanamashkar or alos known as Cobra pose ( bhujangasana ).This would help you to reduce your neck pain.