go to apps settings backup and reset there should be a factory reset.
there might be a other method but it is not included in all devices.
when the device is powered off press simultaneously the volume down and power button until a menu apears.
navigate with the volume up and down key.