Carefully inspect and clean your mushrooms if using wild ones to make sure they are free from worms and dirt. Chop the head and top of the stem into bite size pieces.
Heat the olive oil in a frying pan over medium heat. Once hot, add the shallots and garlic and sauté for a few minutes until fragrant. Increase the heat to medium-high and add the mushrooms. Sauté for a few minutes longer, or until mushrooms are just starting to soften. Season with salt and pepper and stir in the parsley. Remove from the heat.