Relay module with DC motor

Hi!
I want to ask you about control DC motor with Relay module by tempreature.
(I used DHT11 for temperature sensor)
I wanted to active DC motor for 0.5 seconds when over 30 degree celcius. After that, dc motor must stop for long time.

///////////////
Code Here:
#include <DHT.h>
#define DHTPIN 2
#define DHTTYPE DHT11
DHT dht(DHTPIN, DHTTYPE);
int t = 0;
int h = 0;
int r = 3;

void setup() {
// put your setup code here, to run once:
Serial.begin(9600);
pinMode(r, OUTPUT);
}

void dht11() {
t = dht.readTemperature();
h = dht.readHumidity();
Serial.print("Temperature : ");
Serial.print(t);
Serial.println("C");
Serial.print("Humidity : ");
Serial.print(h);
Serial.println("%");
}
int count=0;
boolean ison=false;
void loop() {
// put your main code here, to run repeatedly:
dht11();
if(t>=30 && ison== false) {
count=0;
ison=!ison;
}
if( t<30 && ison==true) {
count = count+1;
}
if(count<500) {
digitalWrite (r,HIGH);
}
if(count>=500) {
digitalWrite (r,LOW);
}
if(count==10000000000) {
ison=!ison;
count=0;
}
}

///////////////
Q1. Is this code correct?
Q2. I repeated changing range of temperature(ex. t>=26, t>=24...) for test and upload to arduino uno. This can harm to the relay module?
(Now, relay module's LED doesn't turned on. On serial monitor, sensing cycle of temperature is reduced to about 0.02 seconds)
Q3. Do you know how to reset relay module?

Single character variable names with not even comments to indicate what they're about? No mention in the code of a relay or a motor. I didn't look any further.

Steve