The player or substitute is sent off and must leave the field of play and the technical area. They may not be replaced.
Many league impose additional restrictions. A very common one is that that player may participate in the next match of the competition, although his team would get to start the match with 11 players.
Chat with our AI personalities