Wash the tomatoes thoroughly and cut them into bite-sized pieces.
Finely chop the onion and garlic.
Heat olive oil in a pan and sauté the garlic.
Add the onion and sauté until it turns translucent.
Add the tomatoes and cook over medium-low heat for 5 minutes.
Season with salt and pepper to taste.
Transfer the cooked tomatoes to a serving bowl.