Navigate to Settings, ensure you are connected to Wi-Fi, then, navigate to General > Software Update. Check you have at least iOS17 or iPadOS17 under “Also Available.” If available, select “Download and Install.”