Some runners never get injured. For others, like you and me, it's a constant battle.
First, forget the "just run through it" and "don't quit" mantras. When you feel an asymmetric pain, i.e., one knee, etc, and not the other, STOP. Walk a bit and assess the injury. Try to run again slowly at first. If the pain comes back even a little, stop and walk back. Your new mantra is "Finishing a workout today is never more important than being able to run injury-free tomorrow." Once I realized that it takes MORE discipline to stop, my injuries declined. I abort about 1 in 10 workouts.
Next, when you get injured, ask yourself, "What, specifically, caused this injury?" If it's not obvious, look up the injury online and find the most likely causes. Take steps to avoid that cause in the future. Once you get an injury, you're more likely to get the same injury again.
Have someone video you while running. Find someone who is knowledgeable about running form to evaluate it. Chances are that some of your injuries are form-related.
Are you a heel striker? It's not a problem for many runners, but for me, it caused stress fractures and knee problems. If you're a heel striker, consider changing to forefoot. A lower heel drop shoe will help the transition.
Shoes are also a potential problem. Try different shoes. You might try different heel-to-toe drops. When I had a chronic injury that did not respond to any of the above steps, I decided to start trying a significantly different shoe and KEEP TRYING new shows until I found a fix. For me, it was Hokas, but then I had to figure out which model of Hoka.