Each blackjack game has a basic strategy, which is playing a hand of any total value against any dealer's up-card, which loses the least money to the house in the long term.
An example of basic strategy is shown in the table below, and includes the following parameters:
Four to eight decks
The dealer hits on a soft 17
A double is allowed after a split
Only original bets are lost on dealer blackjack