The long-term fix, as long as there are no significant problems with the back, to back spasms is a strong core.
In addition to strengthening your core, use good form when lifting objects and doing exercise
. Add volume and intensity of exercise with common sense. If you have concerns that you have a problem with your back, such as a herniated disc or a degenerative spine, see your doctor.