I'm not sure how to fix the issue from happening again but I can give you advice on how to help lower back pain. Follow the link below and save the PDF. It's a lot of info so dedicate some time to it. It will help tremendously. My back was really jacked up for about 10 years and then a physical therapist showed me how to use a foam roller. Buy one today. Don't get the crappy soft blue ones you find at big box sporting good stores. Call around to physical therapists or try to find a running store. The good ones are harder, last longer and are usually black or white.