You can activate voice controls on your Android device in two ways: through the Google app and the Voice Access app.
You should reset your Android device and erase all of your personal data before you sell it, trade it in, or give it away.