Add the tomatoes mashed with a fork in their own juice to the onion. Simmer the tomatoes and onions for about 5 minutes, add salt and sugar.
You can also use sliced fresh or frozen tomatoes. If desired, remove the skin from them, dropping them for 1 minute in boiling water.