You can change your iPhone passcode from your Settings app. From there, you can go to Face ID & Passcode or Touch ID & Passcode.