Wash the onion thoroughly and slice it thickly.
Prepare the cheese and place it on top of the onion.
Heat a pan, add some butter, and place the onion and cheese in the pan.
Cover with a lid and cook on low heat until the onions are cooked through.
Once the cheese has melted and the onions are golden, transfer to a plate.