Stay the course?

is it better to make a new function to be called inside of a IF(statement)
instead of a large function with a bunch of running IF(statement)

i could imagine a small advantage if you could end the function that is currently running after calling the new one is that possible? and worth doing?