if it's still paining from 6 months need to evaluate yourself properly. Neck if it's strained can take one x-ray cervical spine AP and lateral view. Along with that need to see which muscle is strained. Need to treat that muscle. 1. Maintain a good posture
esp neck. 2. Take hot water bag to get relief from pain
. 3. Specefic exercises eg. Isometric exs if it's required. For more accurate diagnosis get a online text, video or audio consultation done. Regards.