I concour with Aaron, give it a good clean, with carb or brake cleaner, or ideally an electrical cleaner.
However, be very careful when removing the sensor, as they can be damaged very easily. Also, once cleaned, the fault(s) stored in the memory need to be cleared, so that you can monitor if the cleaning has sorted the problem.
Hope it works...