Massages are nice but they really only get the top half of the muscle so the pains often come back easily. Pains are caused by pinched muscles in your back and to get rid of the pain you have to free up the muscles to get them released. My experience has been this is much better than a massage as the pain is fully gone and doesn't come back and takes a fraction of the time as well. Here's how you can free up the muscles in your back to get rid of the pains:
Back:
(do from a sitting position)
Place your left hand on your left leg next to your body. Place your right hand over your left shoulder, fingers over the back and the palm in the front and firmly pull down on them and hold. After 30 seconds slowly lower your body forward and to the outside of your left leg, keeping your left arm fairly straight as you do. When you reach your lap remain there for another 10 seconds, release the pressure but rest there for another 30 seconds. Then reverse your hand positions and do your right side.
For best results relax your body first by taking a deep breath and exhaling then remain this relaxed.