Frequently (at least once a week), I get an email or private message asking a question like "I have pain in my XYZ when I squat. What should I do to correct that?"
If I was irresponsible, I'd just prescribe some extra form work and an arbitrary exercise or two and send them on their way. Although I'm pretty good at guessing what a cause(such as a mobility or strength deficiency) may be for a given symptom (like form breakdown), it requires time and observation, and sometimes an MD's expertise and resources, to be sure. In order to effectively deal with a symptom (in this case, pain in XYZ), we have to find the root cause and deal with it... quickly.
This doesn't mean that dealing with symptoms is not important however. Never listen to advice that starts out saying "WELL, THAT'S JUST A BAND-AID! DON'T WORRY ABOUT SYMPTOMS - YOU HAVE TO DEAL WITH THE ROOT CAUSE!". This is, of course, rubbish. That's like saying "Well, you have pneumonia, but we aren't going to treat your fever or poor lung function because those are just symptoms. We really need to get rid of the viral/bacterial infection FIRST."
Symptoms can kill you.
Over time, ignoring symptoms often creates a variety of referred pain and further symptoms that can both obscure and feed the original problem. Given enough time to ferment, it can be pretty hard to separate causes and symptoms, because untended symptoms can have very concrete consequences. What starts out as a breakdown in the chain, becomes a deeply rooted system feeding the problem.
So, what's the answer? Well, it's not easy, but aggressively tackling the symptoms with an eye toward correcting the underlying issues as we uncover them is a good place to start.
Take a look at this pic:
I don't know the gentleman in the green t-shirt, but his kettlebell swing form is pretty atrocious and it's a bad back waiting to happen. In fact, I'd be willing to bet his squat form is similar and the bad back has already happened. The lower back flexion is a SYMPTOM. The cause is, very likely, inattention to proper form, weak and inactive glutes and hamstrings, and tight and inflexible hip flexors and hamstrings. If I am right about the underlying causes, which would be pretty easy to check, you would start by working on his swing form while improving his posterior chain strength and flexibility. Simple... but not easy.