When does it make sense to turn a function into the method of an object?

When the function is related to the objectWhen there are too many functionsAs soon as we have one functionWhen the function is used a lot

When the function is related to the object.