Finely chop the onion and garlic.
Heat olive oil in a pan and sauté the onion and garlic over medium-low heat.
Add tomato ketchup, Worcestershire sauce, soy sauce, sugar, and pepper, then mix well.
Simmer on low heat for 3 minutes while stirring.
Turn off the heat, let cool, and use.