there has been a clicking noise coming from around the compressor for a couple of days and today the fan quit.Answer
What I believe you have going on is the compressor is trying to start and cannot. This is typically caused by a bad start relay. The start relay is located on the side of the compressor. Disconnect power from the refrigerator and remove the start relay. Shake it and if it rattles it is bad. They almost always rattle when they are bad. If it does not rattle it is more than likely ok but it still could be bad.
Ignore this answer if your refrigerator is a GE side-by-side and post the model number. If you need more help please post your model number.
This page will also help Refrigerator Not Cooling