As has been said before back pain can be prevented through exercise to strengthen your back and improving posture in both your feet, through orthotics and or buying a pair of quality shoes, and hips stop sitting on your wallet, and avoid sitting on very soft couches.
The best thing you can possibly do if you have back pain to resolve it is to stretch your back.
The types of stretches that work for me are:
The
cat stretch, or alternately you can
arch your back while trying to touch your toes. I do this for comfort because of a knee injury.
The lower trunk rotation, mentioned
here, works wonders.
There are also some upper back twists, but the wife hcalled me away, I am sure google can help you out