Arduino GSM shield code

Hey everybody,

I have a arduino uno with a GSM shield. This is my first arduino build. I want to have that the arduino continuously listens for incoming SMS messages. And when it gets a certain SMS message I want to have it activate a relay and continuous to activate it until it gets a certain SMS with text in it. So for example I text START to the Arduino and it activate the relay until I text STOP. Can somebody help me with coding this?

greets,
Pwnypower

Step 1: look for an example of receiving an SMS message.
Step 2: get that example to work on your hardware.
Step 3: compare the text in your received SMS with your strings.
Step 4: when you find a match, do the action.

Lots of examples on the internet.