If the refrigerator is not functioning correctly, the most likely problem is that the compressor has failed. The compressor cools the interior of the refrigerator by vibrating and moving the air. If the compressor fails, the refrigerator will not stay cold. In this case, you may need to replace the compressor. If the ice cream does not stay solid, the problem could be with the freezer. The freezer is a mechanical device that uses cold air to freeze food. If the air is not cold enough, the food will not freeze. You can try to adjust the temperature setting in the freezer, or replace the freezer liner.