In a large, deep skillet, heat the olive oil over medium heat. Once it's hot, add the mushrooms with a pinch of salt and pepper and cook them, stirring occasionally, until they are browned and softened. Then add the garlic and cook until just fragrant.