Go to Settings > Alexa and tap the switch next to Alexa. You can also stop Alexa from sending voice recordings to Amazon in the Alexa app.