There could be a various reasons, depending on the sound that it's making. The banging sounds mostly indicate some broken part that is hitting some other part.
Clicking sounds can indicate a issue with the thermostat.