magnetic sensor trigger help

Hi all
I Am new member to this forum. please help me to code this up. when reed switch magnet get release (like a door open) 433Mhz transmitter should send signal for another receiver only 10 s. meanwhile led in main arduino board also blink 10 s and stop.i am a begginer plz help me.
Thank you all
MJay

What have you tried ?
Have you looked at and tried any of the examples in the IDE to get a feel for the Arduino environment and language ?

yes i am trying i did magnet on and off programe on my uno. but how i get reed contact release status and timmer to 10 S

OK, so you can read a switch input. Now have a look at the BlinkWithoutDelay example in the IDE and Several things at the same time to see how to use millis() for timing so that you can blink the LED whilst sending a signal for 10 seconds.

Should the 10 seconds start when the relay is closed or opened ?

10 S timer should start soon reed open.

OK, Have you looked at the example and link I suggested ?

You need to look into using millis() for timing as in the BlinkWithoutDelay example and Several things at the same time
Save the time the switch opens then each time through loop() check whether the required period has elapsed since the event. If not then go round loop() again reading inputs, turning LEDs on and off (using millis() timing) etc. If the period has elapsed then take the required action.

const int pinSwitch = 12; //Pin Reed
const int pinLed = 9; //Pin LED
int StatoSwitch = 0;
void setup()
{
pinMode(pinLed, OUTPUT); //Imposto i PIN
pinMode(pinSwitch, INPUT);
}
void loop()
{
StatoSwitch = digitalRead(pinSwitch); //Leggo il valore del Reed
if (StatoSwitch == HIGH)
{
digitalWrite(pinLed, HIGH);
}
else
{
digitalWrite(pinLed, LOW);
}
}

Here is your code formatted to make it easier to read and in code tags (</>) to make it easier to deal with in the forum

const int pinSwitch = 12; //Pin Reed
const int pinLed = 9; //Pin LED
int StatoSwitch = 0;
void setup()
{
  pinMode(pinLed, OUTPUT); //Imposto i PIN
  pinMode(pinSwitch, INPUT);
}

void loop()
{
  StatoSwitch = digitalRead(pinSwitch); //Leggo il valore del Reed
  if (StatoSwitch == HIGH)
  {
    digitalWrite(pinLed, HIGH);
  }
  else
  {
    digitalWrite(pinLed, LOW);
  }
}

Some comments
The pin numbers could usefully be declared as static byte rather than int as their value will not exceed 255 and will not vary. Similarly StatoSwitch could be declared as byte, but not const as its value will change. This will save memory which may not be important in this small program but is a good habit to get into.
Have you got a pullup or pulldown resistor wired to the input pin to keep it in a known state ? If not then consider using

 pinMode(pinSwitch, INPUT_PULLUP);

to keep the input pin HIGH, wire it so that it goes LOW when pressed and change the program logic accordingly. This removes the need to use external resistors.

What happens when you run the program ? Is it what you expect ?

thank you