Again this is a bit like eliminating the obvious first.
1. Clean laptop completely by blowing out with compressed air and using a vacuum on the exhaust side. If possible please open up the back and inspect for dust build up, clean all with air if needed then replace all panels and re-test.
2. If the unit continues to hang and overheat then you need to make sure the CPU fan is working properly (spinning) if it is then it's time to ask you how old this unit is and could it still be under some warranty? If it's not then the fan is likely the culprit and again I need to ask if this laptop has any warranty period left?
3. If the fan is spinning and the heat and hanging up is continuing and the unit is out of warranty then we may have to consider re-applying the thermal compound but this is a last step as an i5 laptop shouldn't need this so soon unless it was poorly done at the factory.
First things first and let's tackle the cleaning and fan spinning or not questions first. One last thing as well is please feel and listen to the HDD as this could also be the source of hanging and tremendous heat if it is beginning to fail.
4. When is this hanging and heat happening, how many minutes from boot to hang? Are you using this on a table, bed or on your lap? Do you have a laptop cooler stand?