Control Led with Gsm shield

so you believe that the problem is on the code ?

It's actually with what is NOT in the code. You need a call to pinMode() in setup(), for the LED pin, to make it an OUTPUT pin.