Hi try this:
If not done already update your phone to latest software version which is .47
If you are still stuck, hold power button for 5-10 seconds for force restart
Can you tell me how frequent is this issue? Also, what temperature it reaches before you face the above?