Go to Settings > Face ID & Passcode > Enter your current code > Change passcode > Enter your current code again to authenticate.