Melt the butter in a frying pan and sauté the onion until lightly browned, about 5 minutes, stirring occasionally.
Add the cooked barley (cook according to package directions), salt and pepper. Fry until the butter is absorbed, about 8 minutes, stirring occasionally.