1. On your Homescreen, tap the Apps icon

  2. Tap Settings
     

  3. Tap Backup & Reset (this will be under Accounts for Samsung Devices)

     

  4. Tap Factory Data Reset

     

  5. Tap Reset Device
    Note: If you have a security password set you will need to enter this.

     

  6. Tap Erase Everything

     

  7. The device will restart and restore to default settings

     

    This guide can be used for most devices running Android 4.x