When a criteria is reached in an if statement

When a criteria is reached in an if statement

How would you go about ignoring the rest of the script in on user update field once a certain criteria is reached?

For example"

if (criteria)
{
run script
}
else if
{
run script
}
else
{
}
if (criteria)
{
run script
but stop all other script below
}

//Is there a way to ignore any script below here

else if
{
}
else
{
}
if (criteria)
{
{
else
{
}