Clean the mushrooms thoroughly and cut them into bite-sized pieces.
Slice the onion thinly.
Heat some cooking oil in a pan over medium heat.
Add the onion and sauté until it becomes translucent.
Add the mushrooms, season with salt and pepper, and stir-fry.
Once the mushrooms are cooked, turn off the heat and transfer to a plate.