Adherence is everything in the gym

If you see that your progress on a specific exercise is starting to decrease, you can switch to a different one
If you start to see a decrease in your progress on an exercise, it’s probably because you are already adapted to it almost completely.

If you change to another exercise, that “progress” you made in that 1-2 months period is almost purely neural adaptions (coordination improvement) so you just become better at the movement you don’t become stronger at it, thus your muscles don’t struggle more so you are not experiencing any mechanical tension until you are neurally adapted to that exercise, that’s why you don’t change exercises too frequently

So in short, when you change your exercise very frequently you limit yourself from reaching the high threshold motor units because your body didn’t adapt to that exercise yet

It will hinder yourself progress in the long term
For example, if I'm doing incline smith bench press and I'm stuck, I can switch it to incline dumbbell
dont worry lol, that “progress” that stalled is just you adapting to that exercise. When you change to another exercise you “progress” much faster because your body try to develop more coordination towards that exercise (neural adaptions) so you just become better at the moment not stronger

I would only change exercises if it becomes so boring that you feel unmotivated to do it