How to wire up and trigger this SPDT relay?
You can use this connection diagram with your relay



6 pin Relay pin out



Code

int Relay = 8;

void setup()
{
  pinMode(Relay, OUTPUT); 
}

void loop()
{
      digitalWrite(Relay, HIGH);  // turn on relay
      delay(2000);
      digitalWrite(Relay, LOW);   // turn off relay
      delay(2000);
}


First check your relay with multi meter then find the Coil, Com, NO and NC points for correct connection.
Hope this will help you.