Help Overheating issues

Hi all of you! :)

I have been frustating with my epic, epic ran too hot when using video chat app for oovoo and my phone starting to heat up when using that video chat app "oovoo" along with app name PurpleVRS. Same issue and what's more problem go ahead with using of interent lately, my phone shut down when charging and using video chat app "oovoo" they shut down and saying charging is paused, the temperature is too hot or too cold and i went over checking it out on the temp and ran toooo hot! Help me please? :(