Since these are Bluetooth speakers, you have to “pair” them with your iPhone.
Turn Bluetooth ON in Settings, then follow the pairing instructions that came with the speakers. Each manufacturer uses different steps. If you dint have the printed manual, go to their support website and download the PDF version.