New set up

Just setup my doorbell ring 3 plus. I connected it to the 2.4 gbh but I also have a 5 gbh. How do I connect it to that too so as my wifi switches back and forth my doorbell does too?

Thanks for the reply. I want mine to automatically switch but during set up I had to choose 1 or the other.
It didn’t give me an option to have it auto switch

I understand now. I’ll get that changed right away.
Thank you very much!!