Weight sensor actuation

Hi,

I am completely new to arduino and trying a new project. The goal is to have an LED turn off and on depending whether or not a weight sensor is detecting a cooking pan on it.

How would I program the arduino to turn the LED on if a pan is detected and off if a pan is not detected by the weight sensor?

I am completely new to programming an arduino so any input would be incredibly helpful.

Thank you!

Have you looked at the examples in the IDE

Learn to read the input from a sensor (analogue or digital)
Learn to test the value read and act on its value
Learn to turn an LED on/off