Fry the bacon and onion in a pan