MQ2 sensor connected to Arduino UNO as an input and a GSM modem as an output

Once the sensor detect a smoke, the Arduino will make a call to a particular number.
Can you help me guys to get the code and connections.