If you are resetting to sell the phone, go to Settings > Accounts and remove your Google account to avoid Factory Reset Protection (FRP).

Simultaneously press and hold the and Power buttons.

Press and hold the on the right side of the phone. Select Power Off from the on-screen menu and wait for the device to vibrate, indicating it is completely shut down. Step 2: Access the Boot/Recovery Menu