Once a player commits five fouls, he is no longer allowed to play in the game, and a player on the bench must go in the game immediately. If a team commits four fouls, the opposing team gets to shoot a free throw on any next foul that doesn't involve shooting. (Depending on the league).