Slice the onion and mushrooms into bite-sized pieces.
Add oil to a pan and heat over medium heat.
Add the onions first and sauté for 1 minute.
Add the mushrooms and sauté together for 2-3 minutes.
Season with salt and black pepper, stir well, and finish.