You can use Siri on an iPhone XR, iPhone XS, or iPhone X in two ways: either with the Side button, or through a "Hey Siri" voice command.
You can turn off Siri to prevent the virtual assistant from listening to your commands by disabling it in the Settings app.