Go to Settings > System > Reset options > Erase all data (factory reset) > Erase all data. After the erasing process, set up ...
Android: Hold down the power button, or the power button and the volume down key (depending on your Android phone), until the ...