What kind of question is that? It depends on about 20 different things like.
Score, inning, pitch count, walks, availability of another pitcher, batter, rest etc.
I know the MLB changed a rule because of Counsell changing pitchers to often. Now the pitcher has to face 3 hitters.