Exercise and strengthening your core muscles is one and only solution for it .. I have treated patients who had pain from 25 years and now they are completely out of it. Secondly very important thing is to pay attention to your posture which you maintain through out the day.
Next Steps
Start with basic exercise protocol like isometric back, bridging , SLR etc.
Health Tips
Maintain a good posture