https://www.123myit.com/2014/08/wipe-device-data-factory-reset-samsung-galaxy-s5/
How to wipe device data or factory reset a Samsung Galaxy S5