ESP8266 module Cannot connect Wifi

I have question about command for connect ESP8266 module to my Access Point in my home.
I use this command but not work. Please tell me what does it means for each of command line.

My Wifi SSID: House
Wifi Password: 123456789

Serial.println("Connecting Wifi....");
 connect_wifi("AT",1000);
 connect_wifi("AT+CWMODE=1",1000);
 connect_wifi("AT+CWQAP",1000);  
 connect_wifi("AT+RST",5000);
 connect_wifi("AT+CWJAP=\"House\",\"123456789\"",10000);
 Serial.println("Wifi Connected");

This is error that show in serial monitor.

Connecting Wifi....
AT
AT
AT
AT
AT
AT
AT
Error
AT+CWMODE=1
AT+CWMODE=1
AT+CWMODE=1
AT+CWMODE=1
AT+CWMODE=1
AT+CWMODE=1
AT+CWMODE=1
Error
AT+CWQAP
AT+CWQAP
AT+CWQAP
AT+CWQAP
AT+CWQAP

appreciate your help.

what Serial and baud rate do you use for communication with the esp8266?

Are you aware that if the ESP is connected to the Arduino Serial-port, you can not communicate with the Arduino via the Serial monitor ?? either connect the ESP to a swSerial on the Arduino, or directly communicate with the ESP via the Serialmonitor, Typing in the Commands set line-ending to 'BOTH NL & CR' while have a sketch run on the Arduino that does not use Serial (fi 'Blink') also can you show me the connect_wifi() function ?