To enable Touch ID or Face ID on your iPhone 8, go to the Settings app, navigate to "Touch ID & Passcode" or "Face ID & Passcode," and follow the on-screen instructions to set up and configure the biometric authentication feature.