Why does car shut off when putting it into drive and pressing on gas?

Check fuel filter for clogging, lines and fuel pump may be going on you. Good luck.