Peel onion and garlic. Press the garlic through a garlic press. Dice the onion. Heat oil in a pot. Sauté onion cubes and garlic in it. Add the tomatoes and let it boil down at medium heat for about 10 minutes.
Season with salt, pepper, sugar and Sambal Oelek.