my bmw 1994 530i i have to bang gas tank to get the car running. on 1994 BMW 530i

car will start up but eventualy stall out. i bang on gas tank and then it will start.what could be the issue/

Asked by for the 1994 BMW 530i
Fuel pump is bad.
1 more answer
it needs a fuel pump