I use a rice cooker, but a non-stick pan would do.
First wash the rice. Put the rice in a bowl (not the non-stick pan, as you might scratch it), add just a little amount of water and agitate - rub it together or put your hand in and stir it around, then rinse. Repeat until the water is (more or less) clear.
Place in pan, and cover with double the amount of water, i.e., so that the depth of rice is the same as the depth of the water on top of the rice, and cook loosely covered on a low heat - bring to boil and simmer until you see little holes appear in the rice where the water has bubbled through (don't stir it!).