How can you show courtesy in a restaurant?

In some restaurants, when you're on a table, you are advised if you are satisfied with the work of the crew,  give some money as a tip. In such circumstances, you can show your gratitude by paying the tip