Control Led with Gsm shield

What changes i have to do in order to being able turning OFF the LED ?

Look at that code. What causes the LED to be turned on? Under what circumstances does that happen?

It has NOTHING to do with what is IN the message, so, there is lots more you need to do to make the LED come on correctly. When you understand that, it will be trivial to make the LED turn off correctly.