Same exact problem happened when i had a prelude. It turned out the idle screw was messed with, the thread lock paint was broken so it was obvious someone messed with it. The idle was set too low, so when the car was warmed up the car will die. It will drive fine but when you come to a complete stop (redlight) i had to constantly keep on gassing it or else it will stall out. Man that shit was embarrassing hahah.

Give it a shot, see if someone messed with it and if it has, adjust the screw so you will idle higher.

Hope this helped.