Chop the onion and green onion.
Crack the eggs into a bowl and whisk them well.
Heat cooking oil in a pan and gently scramble the eggs.
Remove the scrambled eggs from the pan and set aside.
In the same pan, sauté the chopped onion, green onion, and minced beef.
Add doenjang (soybean paste), soy sauce, gochugaru (Korean chili flakes), and minced garlic, and stir-fry a bit more.
Add water and sugar to make it like ssamjang sauce.
Place the stir-fried ssamjang sauce over rice and top with scrambled eggs.
Finish by sprinkling sesame seeds and drizzling sesame oil as desired.