How to stop a certain command in the void loop

In general
How to stop function Exists in void loop
Because I want to stop this function under a certain condition and then continue it

You can't "stop" a function without pausing the program. Perhaps what you need to do is a state machine.

I have manual control and automatic control[/color]
I want automatic control function in void loop to work continuously
But when I press the manual control button I want to stop the automatic control function and manual control function Start working

Think programming logic.

if(manual button is pressed){
    // do the manual code here
}

else {
   // do the automatic code here
}
void loop()
{
  if (okToRunTheFunction == true)
    {
       theFunction();
    }
}

void theFunction()
{
  //some code here
}