At 118C, hopefully it did shut down lol.
No PC with ANY heat sink installed running stock settings should *ever* get this hot.
So the odds the heat sink you installed (You *do* have a heat sink installed, eh?)isn't installed correctly. So re-install it. Do not run this PC again until you are certain you have changed *something* positive about the heat sink/fan.
Anyhow, please list your cpu, cooler, mobo, psu, memory, and case make and model if you want help.
And please use Centigrade to report temps. Even us troglodytes buried in Fahrenheit use Celsius in this application.