@musicianchick21 I don’t think you stop squats all together.
Maybe do them but lower the weight a bit and really focus on glute/hammy strength AND ON YOUR FORM. You likely have too much weight and/or have bad form. Lower the weight
Also, if you have anterior pelvic tilt, 4 things are happening...