Use this one to figure out what value you get at the trigger temperature and if you want the light on for higher or lower values. Depending on hoe the thermistor is wired and the type of thermistor, higher temperatures could produce lower values.
const int thermistorInput = A0;
void setup() {Serial.begin(9600);}
void loop() {
  Serial.print(analogRead(thermistorInput));
  delay(3000);
}
Then plug that value into here:
const int thermistorInput = A0;
const int ledPin = 13;
const int triggerValue = 512;Â ////Â Whatever value you determined with the other sketch
void setup() {Serial.begin(9600);}
void loop() {
  digitalWrite(ledPin, analogRead(thermistorInput) >= triggerValue); /// Use '<=' if light on for LOWER values.
}