What is the best way to exit a function in Python?

What is the best way to exit a function in Python?