First, make sure you have switched on the Sony WH-1000XM5 headphones. Second, activate Bluetooth on your Mac computer and search for the headphones (“Sony WH-1000XM5”) on the Bluetooth menu.