Welcome to Android Central.
What phone do you have? Has it always done this, or is this a recent occurrence?
How is your signal strength in areas where this happens? If the signal strength is weak, the phone will get hot when trying to find and keep connected to a tower.