There are several different types of poker games and the rules for poker games different for each version of poker.
Goals in poker depend on whether you're playing cash games or tournaments. In a tournament the winner is the one with all the chips, in a cash game you can exit anytime, or when your bankroll runs out. Explained here are the two most popular forms of poker
Texas Hold 'em
The most popular poker game in the world is played on tables with 2-10 players. Each player is deal two cards face down. A round of betting starts to the left of the big blind with players having the chance to fold, call, raise or check depending on if they've posted a blind bet already.
A small and big blind bet are compulsory bets that stop people from only betting when they have a hand and makes the game more interesting. When betting is over, if more than one player has not folded, three cards are deal face face up for everyone to see, called the flop. Another round of betting occurs and if more than one player has not folded another card is canceled called the turn or 4th street. Players bet again and one last card is deal if more than one player has not folded, it is called the river or 5th street.
The idea of all poker is to win as many chips as you can with each hand. In Texas Hold 'em you win by having the best hand or by making other players fold before cards are shown after 5th street. If after a showdown the hand values are the same the pot is split. It is a simple game to learn but a hard one to master.
7 Card Stud
Before Texas Hold 'em became the most popular poker game 7 card stud had that distinction.
7 card stud can be played with two to eight players at the table and the goal is the same as usual, to win all the chips in any one hand. Once the cards are shuffled all players must ante. This means they must contribute from their chip stack to the central pot. Any bets made are in addition to the ante bets.
Two cards are face face down and one card is deadly to each player face up. The 'bring' begins the round of betting. The 'bring' is determined by who has the lowest ranked card. If two players have the lowest ranked card then the suit determines who 'brings it' first. Clubs, diamonds, hearts and spades are the value of the suits from lowest to highest. The player who brings it has two choices, either to bet the size of the ante or bet the size of the small bet.
The player to the left is next to act. They can fold, call or raise. A betting round ends when two conditions are met: All players have acted. All players who have acted have bet the same amount for each round of betting. On 4th street the dealer deals another card face up to all remaining players. Betting begins as normal of 5th and 6th street. On 7th street a card is deal face DOWN. Once completed if players are still in the hand the best 5 card hand out of the 7 cards dealt wins.