When there is only one active player remaining in the game, that player wins the pot without having to reveal their cards. Otherwise, when the final round terminates normally, the game enters the showdown where all active players reveal their cards and the player with the strongest 5-card hand wins the pot. In the case of a tie, the pot is split evenly.
Note that individual cards are ranked from Deuce - the lowest - to Ace. However, in most games, Ace can optionally be used as a low card (comes before Deuce instead of after King). The suit is not used in ranking (but is sometimes used for other purposes, such as awarding an odd chip when splitting the pot in ties). Here are all the 5-card hands ranked from strongest to weakest:
Some variants of poker recognize other special hand types ( e.g. 4-card flush) and allow wild cards (cards that can represent any other card), but these are not common in casino games.