Flashing emergency lights multiple modes

in my code it say . i need a nother way that makes it posible to start and stop inside the if

void loop() {
  buttonState = digitalRead(buttonPin);
  button2State = digitalRead(buttonPin2);
    if (buttonState == HIGH) {
//the loop inside the if is to repeat the code after i let go of the button
      loop();{
 digitalWrite (led_blixt1, HIGH);
      digitalWrite (led_blixt2, LOW);
      delay(20);
      digitalWrite (led_blixt1, LOW);
      digitalWrite (led_blixt2, LOW);
      delay(100);