Halve the chorizo lengthwise. Peel the onions and cut into slices. Peel and chop garlic. Leave the chorizo in a pot without fat until crispy. Add garlic and onions and fry.
Wash the thyme and shake dry. Add thyme and bay leaf to the chorizo. Pour in wine and simmer until halfway through. Season with salt and pepper. Arrange the chorizo in Rioja.