Bluetooth reaches about 10 metres in open space, much less through walls and bodies.
1. Keep a clear line between the phone and the speaker.
2. Don't keep the phone in a back pocket while dancing: your body blocks the signal.
3. Move away from microwaves, Wi-Fi routers and many other Bluetooth devices.
4. Close apps that also use Bluetooth, like smartwatch apps, if the sound keeps cutting.
5. Update the phone and the speaker if possible.
For long distances, put the phone near the speaker and control music from there.