Before doing anything, identify the cause of the noise. Likely suspects would be loose mounting bolts on the compressor, or something is resting against / has fallen onto it.
If the noise is actually coming from within the compressor, then it's time for a new freezer.
If the noise is actually coming from within the compressor, then it's time for a new freezer.