Wash the tomatoes, onions, and olives thoroughly and cut them into appropriate sizes.
Heat olive oil in a pan and sauté the onions first.
When the onions become translucent, add the tomatoes and olives and stir-fry together.
Season with salt and pepper, transfer to a plate, and serve.