Phone won’t stop connecting as mic

Whenever I open garage band at any point my MacBook Pro connects to my phone and uses it as my microphone. EVERY. SINGLE. TIME. It is relentless and the connection is also unstable. So my phone will disconnect and randomly reconnect whenever I’m near my MacBook Pro. This is super annoying and wanted to know how to fix it.