What happens if someone bets more than I have at the table?

You can either fold or go all-in. If you go all-in, you only call as much as you have in front of you at the table.

For example, suppose the pot is $10. You have $2 in front of you. Tom has $6 in front of him, and Jerry also has $6 in front of him.

Suppose Tom bets $6. Since you can not call $6, you can either fold or go all-in. If you go all-in, you would only call $2. Thus, you would only be eligible to win the $10 that is already in the pot and $2 in bets from people in that round.

In this example, suppose Jerry calls Tom’s bet and you go all-in. In this case, there would be a main pot and a side pot. There would be $16 in the main pot ($10 from the original pot plus $2 from you, Tom, and Jerry). In the side pot, there would be $8 ($4 from both Tom and Jerry). Whoever has the best hand among the three of you will win the main pot. However, only Tom and Jerry are eligible to win the side pot.