If you are just getting starting I would recommend doing full body workouts for a bit and then moving into PPL as soon as those become too tedious or either non-challenging or causing DOMs because it's too much volume for your intensity.
But if you're starting out with PPL, which is totally fine, usually at least 6 weeks is recommended. This is so that you can make progress, and it's not an essential rule.
If you've been lifting for a while and you're just doing PPL as part of a strength program and you feel you have the base you wanted, move on whenever the time comes.
How many days are you working out each group?
There's no law against changing things up every few weeks in terms of exercise selection. As for sets and reps (and presumably load, intensity, etc.), it depends entirely on your goals.
You won't get a specific answer without asking a specific question, which is why my answer looks like someone stepped all over a field trying to avoid mines.
Another idea is to introduce heavy & light days. If you're doing Push/Pull/Legs/Push/Pull/Legs/Rest Day, which many folks do just because it's simple, you could make every third rotation of PPL (more or less every 3d) a light day; or every 3rd week could be light. Or, if you're doing other fitness stuff, you could reverse that order of programming. That would give you some variety, too. If you're on a 7-day lifting cycle you could consider switching to a 15 day pattern, or a 10 day pattern, where you're getting more or less rest.
What is they key reason why you want to switch? Boredom? Not seeing early results? Plateau after 6 months? By narrowing your question/describing your routine more it makes it easier to understand what you want
