Neck pain may be caused by neck muscle strain or cervical spondylosis, which can be well treated by proper bed rest, local hot compresses and the use of medication. 1. Neck muscle strain: When the patient lowers his head for a long time to study or play with the cell phone, neck muscle strain may occur, which leads to neck pain. In this regard, patients can take appropriate bed rest to relieve the pain in the neck. You can also apply localized hot compresses to the painful neck to relax the neck muscles to relieve neck pain. 2. Cervical spondylosis: Cervical spondylosis may be caused by cervical spine degeneration, which leads to pain in the patient’s neck. Non-steroidal anti-inflammatory drugs, such as ibuprofen and celecoxib, can be used under the guidance of a doctor to effectively relieve neck pain caused by cervical spondylosis. When a patient experiences neck pain, it is recommended to go to the hospital, receive professional diagnosis and treatment from a doctor.