When you play against other players, the poker room makes money by taking a small cut from each pot, called the rake, or by charging a tournament entry fee. The rake works like a house edge, so very loose play at low stakes is hard to beat.
Texas Hold'em is the most played form, but you will also see Omaha, where you get four hole cards and must use exactly two of them, and Seven Card Stud, which has no shared cards. Casino poker games against the dealer are also widely available at live casino tables. If you prefer a table game where your decisions cut the house edge, try blackjack.