It depends on the age, condition and repair costs of your refrigerator. If it's newer, in good condition and the cost of repairs is reasonable, repair it. If it's older, in poor condition and the cost of repairs is expensive, consider replacing it.