In a large frying pan warm olive oil over medium-high heat. Mix in beans to get coated in oil, add garlic, seasonings and onion. Cook uncovered stirring frequently for 5-10 minutes until onions and garlic are browning.