Stratus stalls

I have a 02 Dodge Stratus 3.0 V6 Automatic Transe. I changed the battery and know the car will not idle. It drives great but when I stop the car it dies. I was told the car needs to relearn to idle but can’t find how to relearn the car to idle??

How long has it been since you disconnected the battery? I would wager that if you continue driving it, the car’s ECM will take care of the problem.