can anybody help me in debugging the sketch

#include <SoftwareSerial.h>
SoftwareSerial mySerial(3, 4);

int sensor1=7;
int sensor2=8;
int sensor3=9;
int speaker1=11;
int speaker1=12;
int Fire_Status;
int sms_count=0;

void setup()
{
pinMode(sensor1,INPUT);
pinMode(sensor2,INPUT);

pinMode(sensor3,INPUT);
pinMode(speaker1,OUTPUT);
pinMode(speaker2,OUTPUT);
mySerial.begin(9600);
Serial.begin(9600);
delay(500);

}

void loop()
{
CheckFire();
CheckShutDown();
}

void CheckFire()
{

if(sensor1==LOW)
{
SetAlert(); // Function to Alerts security
}}
if(sensor1==LOW && sensor2==LOW )
{
gateOpen();// Function to send SMS
}
void SetAlert()
{
digitalWrite(speaker1,HIGH);
}
void gateOpen()
{
digitalWrite(speaker2,HIGH);
while(sms_count<3) //Number of SMS Alerts to be sent
{
SendTextMessage(); // Function to send AT Commands to GSM module
}
Fire_Status =1;
}

void CheckShutDown()
{
if(Fire_Status ==1)
{

if(sensor1==HIGH)
{
digitalWrite(speaker,LOW);
sms_count=0;
Fire_Status=0;
}}}

void SendTextMessage()
{
mySerial.println("AT+CMGF=1"); //To send SMS in Text Mode
delay(1000);
mySerial.println("AT+CMGS="+919650999749"\r"); // change to the phone number you using
delay(1000);
mySerial.println("FIRE IN KPS ”); //the content of the message
delay(200);
mySerial.println((char)26);//the stopping character
delay(1000);
mySerial.println("AT+CMGS="+919650999749"\r"); // change to the phone number you using
delay(1000);
mySerial.println("Gas Leaking!");//the content of the message
delay(200);
mySerial.println((char)26);//the message stopping character
delay(1000);
sms_count++;
}

You have to tell us what the problem is. What is the program for? What happens when you run the program and what do you want it to do that is different?

If you did not write the program yourself then please post a link to where you go it.

If you are getting an error when you try to compile the program please post the error message.

...R

PS ... To make it easy for people to help you please modify your post and use the code button </>
codeButton.png

so your code 
looks like this

and is easy to copy to a text editor. See How to use the Forum

How many times do you think you need to declare/define speaker1?

Use Ctrl+t in the IDE to format your code.

if(sensor1==LOW)
{
 SetAlert(); // Function to Alerts security
}} // ------------- wrong place for that second }
if(sensor1==LOW && sensor2==LOW )
{
gateOpen();// Function to send SMS
}
if(sensor1==HIGH)
{
digitalWrite(speaker,LOW);  // ----which speaker?
sms_count=0;
Fire_Status=0;
}
if(sensor1==LOW)
{

sensor1 has the value 7.
LOW has the value 0.

They are never, ever going to be equal.

Did you forget a digitalRead?