"To stop your phone from listening to you, you can turn off voice assistant wake words and revoke microphone permissions for individual apps in your device settings. [1, 2]
On iPhone
Open Settings and tap Privacy & Security.
Select Microphone to see a list of apps with access.
Toggle off the switch for any app that does not need audio.
Go back to main settings and tap Siri & Search.
Toggle off Listen for 'Hey Siri'.
Go back to Privacy & Security, tap Tracking, and turn off Allow Apps to Request to Track to reduce targeted ads. [1, 2, 3, 4]
On Android
Open your phone Settings.
Go to Security & privacy or Privacy, then tap Permission Manager.
Select Microphone and change permissions to Don't allow or Ask every time for unnecessary apps.
Open the Google app, tap your profile picture, and go to Settings > Google Assistant (or Search, Assistant & Voice).
Tap Hey Google & Voice Match and toggle off Hey Google. [1, 2]"