If using fresh rice, spread on a baking sheet and refrigerate 30 minutes to dry slightly and prevent mushiness. Break up clumps with fingers.
Heat 1 tablespoon vegetable oil in a large skillet or wok over medium-high; scramble eggs about 2 minutes until just cooked through and set aside.
Add remaining 2 tablespoons oil; cook onion and carrots 3-4 minutes until carrots start softening.
Add peas and garlic; cook another 2 minutes, stirring frequently, until fragrant and peas are heated through.
Add rice, breaking up clumps; stir-fry 3-4 minutes until slightly crispy and heated through.
Stir in soy sauce and sesame oil evenly; add eggs, green onions, and black pepper and toss 1-2 more minutes.
Adjust seasoning with soy sauce to taste; serve hot.