The cause of pain at the back of the neck may be muscle strain, myofasciitis, cervical spondylosis, etc., which needs to be treated according to the cause with physical therapy, medication or surgery. 1. Muscle strain: muscle strain caused by prolonged bowing of the head, exposure to cold, fatigue, trauma or excessive activity causes pain and swelling at the back of the neck. Can be relieved by hot compresses, massage, when the pain is serious, you can take oral non-steroidal anti-inflammatory drugs under the guidance of a doctor, such as ibuprofen and other pain relief. In addition, usually pay attention to the sitting posture, to develop good habits. 2. Fasciitis: strain, cold and other factors may cause local aseptic inflammation, resulting in pain at the back of the neck, muscle tension spasm or muscle weakness. Oral non-steroidal anti-inflammatory drugs, such as diclofenac sodium, can be taken under the guidance of a doctor, but also with hot compresses, massage, infrared and other ways to relieve pain. Usually should pay attention to more rest, pay attention to posture, pay attention to local warmth. 3. Cervical spondylosis: Cervical spondylosis is characterized by pain in the back of the neck, accompanied by numbness and weakness in the hands. You can take non-steroidal anti-inflammatory drugs such as ibuprofen, muscle relaxants such as chlorzoxazone, and nutritive nerve medications such as vitamin B under the guidance of your doctor, as well as heat therapy, electrotherapy, traction and other treatments. If there is severe nerve compression, surgical treatment can be performed if there is an indication for surgery. There are more causes of pain at the back of the neck, tumors, infectious diseases may also appear the symptoms of pain at the back of the neck. When the symptoms of neck pain appear, you should consult a doctor in time, diagnose in time, clarify the cause of the disease, and take measures to treat it under the guidance of the doctor, do not blindly use medication on your own.