h bridge with relay help me for the delay

hello i use four relay for a motor because i would like turn on -turn off and turn right -turn left. i use a push button and i use this code.

const int buttonPin = 2;     // the number of the pushbutton pin
const int relay_reserve1 =  3;      
const int relay_reserve2=4;
const int relay_reserve3=5;
const int relay_reserve4=6;


int buttonState = 0;         

void setup() {
  
  pinMode(relay_reserve1, OUTPUT);   
pinMode(relay_reserve2, OUTPUT);   
pinMode(relay_reserve3, OUTPUT);   
pinMode(relay_reserve4, OUTPUT);     
    pinMode(buttonPin, INPUT);    
}

void loop(){
    buttonState = digitalRead(buttonPin);

  
  if (buttonState == HIGH) {    
    digitalWrite(relay_reserve1, HIGH);  
digitalWrite(relay_reserve2, HIGH); 
digitalWrite(relay_reserve3, LOW); 
digitalWrite(relay_reserve4, LOW);
  }
  else {
    
    digitalWrite(relay_reserve3, HIGH);  
digitalWrite(relay_reserve4, HIGH); 
digitalWrite(relay_reserve1, LOW); 
digitalWrite(relay_reserve2, LOW);
  }
}

but for the safety i would like put a delay(100); between switch. because is the dangerous reserve the motor without stop first.

i would like turn right the motor- stop the motor (for delay (100);) and turn left the motor.

with void

void turn_right()
{
  digitalWrite(relay_reserve1, HIGH);  
digitalWrite(relay_reserve2, HIGH); 
digitalWrite(relay_reserve3, LOW); 
digitalWrite(relay_reserve4, LOW);
}
void stop()
{
digitalWrite(relay_reserve1, LOW);  
digitalWrite(relay_reserve2, LOW); 
digitalWrite(relay_reserve3, LOW); 
digitalWrite(relay_reserve4, LOW);
}
void turn_left()
{
  digitalWrite(relay_reserve1, LOW);  
digitalWrite(relay_reserve2, LOW); 
digitalWrite(relay_reserve3, HIGH); 
digitalWrite(relay_reserve4, HIGH);
}

please help me who put the delay(100); ?

So, now you have a bunch of functions. Call them in the proper order, with whatever delay you want between them.

void loop()
{
   turn_right();
   delay(250);
   stop();
   delay(500);
   turn_left();
   delay(1000);
}

yes but if i put delay(250); the loop turn_right(); work for 250?

i want stop the motor turn right and after delay(250); and after turn left the motor.

i dont want turn right and turn left without stop between the turn right and turn left

yes but if i put delay(250); the loop turn_right(); work for 250?

Yes.

i want stop the motor turn right and after delay(250); and after turn left the motor.

The motor does not stop instantly. But, I don't care if you then want to immediately change direction.

yes but i dont work for 250. i want turn left-stop and after turn right. and turn right stop -turn left. because with direct turn left-->turn right the relay maybe broke and the motor broke.

The times I put were arbitrary, just to show you where the delay() calls go. Make them whatever value you like, or remove them.