The correct term may be Spondylitis. Basic treatment would be to Control pain and increase Flexibility and Strength of Spine.
For Pain relief some Medicines and Physiotherapy would help.
For muscle strengthning and Flexibility you must visit a good Physio ASAP
Next Steps
Must visit a Physio for Consultation and treatment
Health Tips
Avoid Forward bending from spine, avoid lifting weights.