Sounds like you need to stretch correctly after exercising. I had the exact same experience, and it wasn’t until I began focusing my stretching on my hamstrings that I saw immediate and significant relief. It’s the holy grail to a back pain free life for me now.