Slice the mushrooms and onions.
Add olive oil to a pan and sauté the mushrooms and onions.
Season with salt and pepper.
Place the sautéed mushrooms and onions on a slice of bread.
Top with cheddar or mozzarella cheese.
Cover with another slice of bread and grill in a pan or toaster.
When the cheese melts, cut the sandwich and serve on a plate.