If the ice cream is only partially melted, you can just put it back in the freezer to refreeze. Remember to put a piece of plastic wrap or parchment paper over the ice cream before putting the lid back on. However, if your homemade ice cream has been sitting out at room temperature for a long time, it is not safe to eat.