The dealer must continue to draw cards, or hit, until they reach a total of 17 or go bust. If they achieve a total of 17 with their first two cards, then they must stand.