Pain in the Spinal Cord

Hi there,
I want to lift and stay healthy. I thought to do warm up before lifting and I did easy twist and pelvic tilt. After that, I am facing huge pain in my spinal cord when trying to bend backward or sideward. What might be the reason? When can I start lifting?