Fresh rice cakes will spoil quite quickly, even within a few days while being stored in the refrigerator. If you don't plan to use fresh rice cakes right away you should freeze them in a freezer-safe container where they will keep for up to a few months.