Plug [Q] htc hd7 getting hot so fast and my operating system is gone

i have a htc hd7 and one day i felt my phone is getting hot to much.and my memory is dead and gone. i chech the batery is ok i think my device had something problem.