Given a recipe, explain the step-by-step instructions for cooking the dish.
Start by heating the olive oil in a skillet over medium heat. Add the onions and sauté until they are slightly browned. Add the diced tomatoes and garlic, season with salt, and cook for about 5 minutes until the tomatoes are cooked through. Serve hot.