Your CPU can't overheat that quickly when you power on (unless no cooler is installed). You should have time to get into the BIOS to check the temperature.
i almost have time to get to the bios but it turns off just before I do. And then it just loops which makes me think its the cooler. Its not instantaneous untill it does it about twice