Help with thermsitor?

I want to turn on a LED with a thermistor. I assume If statements are the best way to do it? The way im doing it is “If (int(Thermistor > 20) digitalWrite(13, HIGH);”? I’ll add my code.

Any help would be awesome!! i have been at this for 8 hours. It seems so simple which makes me feel really stupid lol.

thermistor_Av.ino (1.79 KB)