Before cooking the rice, rinse it under cold water until the water runs clear. This removes excess starch and helps prevent sticking.