Its very easy to Perform Wipe Cache partition in Samsung Galaxy , If your phone is facing issues like it becomes very hot while using apps battery runs out of power quickly and sometime screen goes black etc. then you must try below solution for your problem.
Power off the Samsung Galaxy S6.
Hold the power off, volume up and the home button all at the same time.
After some seconds, the Galaxy S6 will vibrate once and the recovery mode is started.
Search for the entry called “wipe cache partition” and start it.
After a few minutes the process is complete and you can restart the Galaxy S6 with “reboot system now”.
THIS WILL SOLVE YOUR BELOW PROBLEMS
Black Screen of Death (BSoD)
Slow performance of apps
Lag in the User Interface
Apparently random errors and failures