If you're using AirPods (2nd generation), make sure that your Mac has macOS Mojave 10.14.4 or later. AirPods Pro require macOS Catalina 10.15.1 or later.

If you set up your AirPods with your iPhone and your Mac is signed in to iCloud with the same Apple ID, your AirPods might be ready to use with your Mac. Place your AirPods in your ears and click either the Bluetooth menu or the volume control in the menu bar on your Mac.1 Then choose AirPods from the list.