Sometimes( once or two times a day) I start the car and then it idles but can't on 2005 Nissan Altima

Go. I can pump the gas petal and them it kicks in and drives fine. The rpm don't rev when this happens. I can put it in N And it revs? And then in drive and can get it to go. Is rhis the feul pump??? Or throttle? Or injectors please help.

Light in dash on?