Pain in spine after workout

So today I did a spin class. And several hours later laying in bed I started to get this pain up my spine. It hurts when I take a deep breath or stretch. Should I be worried?

Also to note I have scoliosis