relay help. digitalWrite high causing power off to device

I have a relay connected to a fan but when I do digitalWrite(fan, HIGH); it turns off. I think i have it connected to the relay correctly because when there is no power to the relay the fan is off(normally open?). When I execute digitalWrite(fan, LOW) it comes on. Not sure what I'm missing so any help is appreciated

int fan = 7;

// the setup routine runs once when you press reset:
void setup() {
// initialize the digital pin as an output.
pinMode(fan, OUTPUT);
Serial.begin(9600);
digitalWrite(fan, HIGH);
}

// the loop routine runs over and over again forever:
void loop() {
if (Serial.available() > 0) {
int inByte = Serial.read();

switch (inByte) {
case 'y':
digitalWrite(fan, HIGH);
Serial.println("y was pressed");
break;
case 'n':
digitalWrite(fan, LOW);
Serial.println("n was pressed");
break;
default:
digitalWrite(fan, LOW);
}
}
}

I think i have it connected to the relay correctly because when there is no power to the relay the fan is off(normally open

Show us a picture or draw us a schematic how things are wired.

thank you for the reply.

After further reading, I do have it hooked up correctly. I was just misunderstanding how the circuit works. When there is voltage to the 7 pin then the circuit is not complete. When I issue a LOW command that lets the circuit complete causing 5v to go to the relay and switch on