Butter the bagels
Thinly slice onion
Brown the bacon on nonstick pan
Crack an egg on the same pan, salt it
Soften the onion on the same pan
Grab one half of the bagel, and press it on the egg, either cook the egg to over easy or fully cooked
Brown the other half of the bagel on the same pan as well
Flip the bagels and brown the other side
Stack everything on serving plate, and if you like, spread cream cheese on half of the bagel, and sprinkle with black pepper on the one with egg