Your history suggests a inflammatory process going on with you. ( Ankylosing spondylitis, RA etc.)
Keep your spine mobile with regular exercises.
Hot water compression will help.
Medications like Indocap SR and Orthocort will help but needs a confirmed diagnosis before starting.
Next Steps
consult a Orthopaedic surgeon for clinical evaluation and treatment planning.
Health Tips
Avoid exposure to cold and excessive rest periods.