HEATER PROB

heater only works after car is warmed up or restarted after car has been on for a while whe n I turn on the car and hold down the off button on the heater a code of 2 and then 5 comes up. When it does kick on it works fine.