Hyundai Repair: 2000 Hyundai Accent, hyundai accent, dirty fuel


Question
I tired what you said, but I cant get it to stay running. I tried to hold the Accelerator at a steady point but as soon as I do that it stalls, and then i press the accelerator down more to keep it from staling but it does any way.  Is it possible that I have a dirty fuel injector. The reason I think that is because I have to be pumping the accelerator to keep it started but that only lasts for a couple seconds. The engine sounds like its only if I depress the accelerator.  Thanks.
-------------------------------------------
The text above is a follow-up to ...

-----Question-----
I had a battery die in my 2000 Accent, so i changed the battery.  now when i start the car it wont stay running. It will only stay on for about 3 sec then it dies. If i dont give it gas it wont stay on at all.  The car sat for a couple of weeks before I put the new battery in. So i was thinking it might be the fuel filter but I cant find it. I checked the fuel pump fuse and it was fine. I also checked the throttle plate and it was clear.  Would pouring fuel injector cleaner in the gas tank help. Or what should i do?
-----Answer-----
It's possible the engine computer lost the memory of how much it needed to activate the idle controller to keep the car running.

When you start the car, keep your foot on the accelerator just enough to keep the car running.  Gradually take your foot off.  Eventually the car will probably idle on its own.  If it attempts to stall while gradually releasing the accelerator, reapply throttle enough to keep the car running.  It should take no more than about 5 minutes to get the car to idle on its own.

Once the car idles on its own, leave it running for 15 minutes.  Then turn on the a/c (depressing the throttle if necessary to keep the car running).  Once the car idles on its own with the a/c on, let it run another 15 minutes.  This will typically be sufficient to cause the computer to relearn the idle.

Answer
A dirty fuel injector isn't a likely possibility.  That would only cause a misfire on the affected cylinder.  It's more likely that you have a fuel pump issue or some sort if issue with the fuel management system.  

If you have access to a fuel pressure gauge and/or a code reader, you might start there.  If your fuel pressure dies off, don't immediately go and replace the fuel pump.  The pump is controlled by the computer, and the computer may not be keeping the pump energized.  If you're losing fuel pressure, you should next check to see if you have power and ground at the fuel pump when the car pressure dies off.