If your laptop keeps connecting to some other device instead of your speaker, then you can either turn off the device you do not want to connect to or disconnect from the laptop's Bluetooth connection.