If using regular Asian rice, you can cook it straight out of the rice cooker. If using jasmine or basmati, it's better if you allow it to get cold or if you use it a day old. Maybe it's because they're thinner grains and pan frying would overcook them?
OilYou basically heat up the oil (a couple of tablespoons at first) and cook the garlic until softened and a little golden. Season with a little salt and fish sauce. Then add the rice. Heat up until the garlic is golden, but not dark brown otherwise you've burned it. But that's ok, it's still good. A little bitter and a little carcinogenic, but still good.
One whole head of garlic, or 3/4 of it, minced (the more, the better I say)
Salt to taste
1 Tbsp fish sauce (I haven't tried this but I read it in another recipe)