These kind of things can actually strengthen your immune system. As was discovered with the tuberculosis vaccine - it conferred near perfect immunity to Covid-19 through what is termed immunotherapy.
A muscle tear is serious. Muscle soreness is strength building. What doesn't gravely injure you, may often make you stronger.