In an ovenproof skillet or enamel-plated cast iron casserole (∅ 24-26 cm) heat the olive oil over medium heat. Add the shallot, garlic, chili flakes, salt and cook, stirring often, until softened (5-6 minutes).
For a relaxing atmosphere in the kitchen I recommend my personal Elle Republic: Chilled Out Kitchen Tunes Playlist on Spotify.