how to send Alert and avoid doing it second time (loop)?

int timesSend = 0;

void setup()
{
  Serial.begin(9600);
}

void loop()
{
  if (timesSend == 0)  // can also be a boolean
  {
    timesSend++;
      Serial.print("1");
   }
  Serial.print("0");
  delay(1000);
}

this is the essence