There are a few things you can do to clean a dirty thermocouple. First, remove any dirt and debris that may have built up on the thermocouple. Next, use a mild soap and water to clean the thermocouple. Finally, re-attach the thermocouple to its housing and test it for continuity.