Neck pain can be relieved by anti-inflammatory drugs, hot compresses, acupuncture, massage, and changing bad habits. 1. Avoid bad habits: correct sitting posture, avoid low head to play the phone, avoid prolonged ambulation, these actions over time will cause muscle strain and soreness, serious will lead to fasciitis. 2. Anti-inflammatory drugs: meloxicam, celecoxib, diclofenac sodium tablets, can help relieve pain and play an anti-inflammatory role. 3. Hot compresses: hot compresses can improve the blood supply to the muscles and help relieve muscle strain. 4. Exercise: Doing more neck activities, such as looking around, can enhance the strength of the neck muscles and increase the stability of the cervical spine. 5. Acupuncture and massage: going to a regular Chinese medicine hospital for physical conditioning can improve muscle strain. The above drugs need to be used under the guidance of a doctor, avoid self-medication.