If you are unable to connect your airpods to your mac, all you can do is force restart both the devices or update them. You can also try connecting them manually.