Thanks for using the Apple Support Communities! I see from your post you are wondering what to do in situations where your iPhone seems to be getting warm and hot all the time.
There can be a lot of factors that contribute to this, depending on how you use your iPhone and where you're using it.