For Wi-Fi issues on your Android, start with a restart or adjust network settings. Disable VPN if needed. If problems persist, reset all network settings to potentially resolve the Wi-Fi problem.
To find out if you need a firmware update, first check what firmware version is installed on your AirPods. On your iPhone, you need to open Settings and go to Bluetooth. On a Mac, the steps will be different depending on the macOS installed.