Just go to a chiro and get checked out. I ignored that same issue for years until it blew up. Turns out I have minor scoliosis (where the spine has a small S curve side to side. You should have seen the x Rays). It’s been a few years now with no real issues other than the occasional few days of pain.
I suggest a sports medicine chiro since they usually can often suggest a bit more in depth stretches and exercises to do. Also weight. Not sure if you’re thin or chubby. Over the last two years I’ve put weight on and I feel it in my back. No bueno
Edit. I’m almost 29, and back cracking is just fine.