Ankylosing spondylitis patients with spinal pain can be treated with non-steroidal anti-inflammatory drugs (NSAIDs) and biologics, and surgery can be considered if necessary. Patients with ankylosing spondylitis mostly start with lower back pain with morning stiffness, men’s condition is more serious, the pain symptoms can be alleviated after activities, the disease will appear in the later stage of the lumbar spine in all directions of the activity is limited, the late stage of the disease due to the decline in bone density or even osteoporosis, will be prone to fragility fracture. Patients with ankylosing spondylitis respond well to NSAIDs and can be treated with NSAIDs such as ibuprofen and aspirin. If the patient responds poorly to NSAIDs, it can be treated with biologics, such as tumor necrosis factor-alpha inhibitors. If the patient has joint disability or hip joint pathology causing intractable pain, it is appropriate to consider total hip replacement. Normally, we should pay attention to moderate exercise, not strenuous exercise, and sleep on a hard board bed. If you suffer from ankylosing spondylitis, it is recommended to go to the rheumatology and immunology department of regular hospitals, orthopedics and other related departments in a timely manner, and the drugs should be used under the guidance of doctors.