I am not clear as to what your question intends to have solution for. However, general spinal and neck exercises can be recommended to straighten the spine, as it helps to re-align the structure of spin in case of any deformity, as well as restore and maintainthe vitality of different organs of the body:
-
Tadasana
-
Urdhavahastottanasana
-
Ardhakatichakrasana
-
Ardhachakrasana
-
Vajarasana
-
Vakrasana
-
Gomukhasana
-
Makarasana
-
Bhujangansana
-
Shalabhasana
-
Dhanurasana
-
Setubandhasana
-
Matasayasana
-
Shavasana
Naadishuddhi pranayama will be helpful. Meditation - Breathe awareness, Om Meditation or guided Meditation will produce specific physiological response pattern that involves biological systems to cause assistance for spinal problems.
The above should be done under guidance of qualified yoga instructor/ therapist if the ailment is severe or any deformity or ankolysing spondylitis.