2002 chevrolet blazer

Why does my fuel pump stop working as soon as I hit the starter. The engine starts and runs for a couple of seconds and dies