Chorizo Fiesta Rice

1 tbs olive oil

1 large onion, thinly sliced

250g baby cooking chorizo, sliced

4 garlic cloves, crushed