Why “Over Temperature” message is shown during boot time?

I am using DDR2 RAM and 2.5 GHz processor.
When my computer boots, it shows the "Over Temperature" message.
After sometime my computer turns off.
If I open RAM and insert RAM, my pc will start for one time.
Again the problem occurs.
What is the solution about this?
