Let it cool completely and then cover with plastic wrap or aluminum foil and store it in the fridge for up to 5 days. To prevent the topping from getting soggy in this time frame, I recommend not transferring it to an airtight container and just keeping it in the dish it's already in.