Rheem tankless water heater code 12 indicates a problem with the flame sensor. To reset the code 12, clean the flame sensor or replace it.