If the rice is old and already spoiled, discard it. But if it’s still fine, it can be cooked even after long-term storage.