refrigerator won't work

freezer has ice on back wall. refrigerator is not cooling.