since liver cooks so fast, there's no way you can start cooking the liver and onions at the same time. it's best to cook the onions first at a lower temperature (with a little salt and pepper) so they soften nicely and brown just a little, the remove them from the pan. then raise the heat and cook the liver.