AirPods Pro switch audio connection

I can't find a way to switch the audio output on my mac to my Airpods ? It's connected to my Mac and to my iphone to the same time, but every time I have to go to audio and select the outputs > the AirPods
is there another way ?