Cut the tomatoes, onions, and garlic into bite-sized pieces.
Heat olive oil in a pot and sauté the garlic and onions.
Add the tomatoes and stir-fry together.
Pour in a little water and season with salt and pepper.
Simmer over medium-low heat for 15 minutes.