I have not worked with too many clients with this issue, but I have been experiencing it in myself recently. In clients, I look for imbalanced through the femur & patella and choose strength & rolling exercises accordingly. In women, the Q angle makes them prone to have some lateral deviation in the patella (which is happening in my case). I have been rolling IT bands, vastus lateralis, and strengthening my VMO like crazy. My favorite VMO strengthener is footwork on the Pilates reformer with a small ball or cushion in between the knees- I do full range, and short range near the foot bar- works like a charm!
Most clients I have had with this issue came to me wearing a patellar stabalizing strap and don’t have nearly the issue during cardio; however, that is of course a band-aid solution in my opinion. I prefer to address it in my training.