In blackjack, whether you should stand or hit on a soft 17 depends on the dealer's upcard. If the dealer shows a 2 through 6, it's generally best to stand, as the dealer is more likely to bust with a weak card. On the other hand, if the dealer shows a 7 through Ace, you should typically hit. This is because the dealer has a stronger hand, and hitting gives you a better chance to improve your hand and compete with their total. This approach follows basic strategy, which aims to minimize the house edge. Some casinos may require the dealer to hit on a soft 17, but if you have the choice, this is the optimal play.