Sticky rice usually comes from one of three small mistakes. Fix them and the method works every time, for white rice.
Rinse. Wash the rice in cold water until the water runs almost clear. This removes the loose starch.
Measure. Use one and a half cups of water for one cup of rice. Bring it to a boil, then turn the heat to low and cover.
Rest. After 12 minutes, take the pan off the heat and leave the lid on for 10 more. Do not lift it to check.
Fluff with a fork just before serving.