Anyone else facing Bluetooth connection issues with MacBook Air and earbuds?

Anyone else facing Bluetooth connection issues with MacBook Air and earbuds? Mine connects sometimes but randomly disconnects or doesn’t show up at all—any fixes or tips that worked for you?