Finely chop the onion.
Grate the garlic on a fine grater or pass it through a press.
Tomatoes in their own juice, if you have them whole, you need to cut into small pieces. By the way, this can be done with kitchen scissors right in the jar.
Drain the brine from the olives.