Proper medications are prescribed by the doctor to minimize the effects of spondylitis. They allow patients to do exercises without any strain or discomfort. Medications minimize inflammation, pain and stiffness. Commonly used medicines are ibuprofen, naproxen, methotrexate, Remicade, etc. In some cases, steroid injection is also used for chronic back pain.