If using fresh rice, spread it on a baking sheet and refrigerate for 30 minutes to dry it out a bit—this helps prevent mushy fried rice. Break up any clumps with your fingers.
Heat 1 tablespoon of vegetable oil in a large skillet or wok over medium-high heat. Pour in the beaten eggs and scramble until just cooked through, about 2 minutes. Remove from the skillet and set aside.
Add the remaining 2 tablespoons of oil to the same skillet. Add diced onion and carrots, cooking for 3-4 minutes until the carrots start to soften.
Stir in the frozen peas and minced garlic. Cook for another 2 minutes, stirring frequently, until the garlic is fragrant and the peas are heated through.
Add the rice to the skillet, breaking up any remaining clumps. Stir-fry for 3-4 minutes, allowing the rice to get slightly crispy and heated through.
Pour the soy sauce and sesame oil over the rice, stirring well to distribute evenly. Add the scrambled eggs back in, along with the sliced green onions and black pepper. Toss everything together for 1-2 more minutes.
Taste and adjust seasoning with more soy sauce if needed. Serve hot and enjoy this better-than-takeout dinner!