Peel and chop the onion finely.
Fry gently in olive oil with a little salt, in covered pan, until softened and golden at the edges.
Add chopped tomatoes, garlic and water.
Cover and cook for 15 minutes.
Remove lid and cook for further 5 minutes until thickened, stirring to prevent burning.
Add salt and pepper to taste.