First u should do x-ray to evaluate any vertebratal issues like malalignment(changes in curve).
Then do musculoskeletal assessment by a therapist.
For how many days or weeks or months you are suffering you should mention.
Type of pain ? Shock like pain or just a regional pain i.e. located in a specific region, associated with any headache ? Or radiating pain?
If the pain in a specific part then it may be due to spasm or shortening of muscle.
Next Steps
pain relief: icepack , TENS, UST, IFT
postural care: proper back care during sitting standing, work etc.
exercise : reduce stiffness or spasm by mild lower back stretching, hip flexor/extensor stretching.
strengthening exercises for core , abdominal and also for back.
Health Tips
postural care