A very common way to use a thermistor is to connect it in series with a fixed resistor, giving you a temperature dependent voltage divider. Connect the total series network across a stable voltage supply.
Connect the tap of the divider to an analog pin of a microcontroller and read the voltage. Set the code to shut down the system if the voltage reading goes above the limit point.
If you're not using a microcontroller then a voltage comparator can do the same.
Thank you for your advice. A friend suggested the following configuration for the overheat protection circuit. Could you please take a look and advise your comment?
Try a PRG series PTC SMD resistor.The PRG series has high reliability, small changes in characteristics after installation, and long service life. This will help you reduce device size and improve performance.
In the past, I have used thermistors for exactly the same requirements as yours.
Nowadays, for the price of a good thermistor you can purchase one of the very many silicon temperature sensors. Some of them are stand alone and can drive small loads directly.