Thanks servimat1, it was just like that, the connections were reversed, now I have a new problem with the same heater, the lighter is turned on and it gives me hot water for the first ten seconds, approx, and then it comes out warm and that the stretch that I have since the heater to the bathroom is that of a wall