chances are you are using a dogshit chassis with no air flow.
i use Lian Li V3000 Plus. worth every penny.
of course an NVME needs a heatsink but a good NVME like Samsung will have its own copper heatsink already installed when you buy it. beyond that all you need is good case airflow.
a good motherboard will also supply heatsinks for your NVMEs as well.
if you didn't get a heatsink on your NVME or Mobo and it overheats throw them both out and throw your case out as well. throw your entire garbage PC out in fact and buy a Dell.
you are not cut out for this game.