The freezer probably has a defrost problem. The defrost system has three components; timer, heater and thermostat. Advance the timer until it clicks into defrost mode. If the heater comes on, replace the timer. If not, check the defrost thermostat and heater with a meter to determine which one is bad.
The refrigerator probably has a leaking evaporator. This requires special tools and training and is beyond what a typical DIY'er can do.