You can store the cooked potatoes in an airtight container in the fridge for a few days. That way, if you're using them in a dish like sweet potato casserole, you can do this step ahead of time. You can also freeze the sweet potatoes for up to 3 months.