Finely chop the sauerkraut and onion.
Heat olive oil in a pan and sauté the onion.
When the onion turns translucent, add the sauerkraut and rice, then stir-fry.
Season with salt and pepper to taste.
Once the ingredients are well mixed, transfer to a plate and serve.