How to cook the onions, beans and chorizo