What should be used when tile butts up to a different kind of material?

What should be used when tile butts up to a different kind of material?