samsung galaxy phone reset and delete all data

How to Reset Samsung Galaxy phones?

How to reset Samsung Galaxy S5 and erase all data on your mobile phone?