Heat oil over medium-high heat in a heavy pan. When the oil is good and hot, add the shallots first, then garlic, and cook for 1 minute. Add the cherry tomatoes and cook for 3 minutes. Toss them around in the pan and cook for another 2 minutes. Season with salt and pepper and top with a hefty handful of herbs. Serve warm.