Exiting a void loop() structure?

[code]unsigned long currentMillis=millis();
if(currentMillis-previousMillis1>interval_A){ // This makes both motors
previousMillis1=currentMillis; // run forward for 6 seconds
if(motorA_state_pin_1==LOW){
if(motorB_state_pin_1==LOW) // THIS IS LEG # 1
motorA_state_pin_1=HIGH;
motorB_state_pin_1=HIGH;
}else{
motorA_state_pin_1=LOW;
motorB_state_pin_1=LOW;

} // This closes the " else " statment
} // This closes the time count

// This is where we want to exit the above and move on to the one below

if(currentMillis-previousMillis2>interval_AE){ // This makes motor A run
previousMillis2=currentMillis; // forward and motor B run
if(motorA_state_pin_1==LOW){ // backwards for 2 seconds
(motorB_state_pin_2==LOW);
motorA_state_pin_1=HIGH; // THIS IS TURN # 1
motorB_state_pin_2=HIGH;
}else{
motorA_state_pin_1=LOW;
motorB_state_pin_2=LOW;

} // This closes the “else” statment
} // This closes the time count[/code]

Very very new to robots and Arduino programing. This the part of the code we are trying to make work. It is the motor control for our Rover 5. The first part makes it move forward and the second part makes it turn to the right. It does the first part very well, but it wont move on to the second part. It just loops the first part over and over again.
I hope that we are describing the right way. We were using " delay " but we were told to use " blink without delay".

No one? Would it help if we posted the whole code? Don’t know if we are posting in the wrong spot.