Allow cooked rice to stand for some minutes in the cooking pot before you open the lid. If using a pressure cooker then open the lid once all the pressure has fallen naturally on its own. Then gently fluff the rice with a fork. Make sure that your rice to water proportion is correct depending upon the variety of rice you are using. Also preferably use aged basmati rice.