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/

2 answers
Fuel pump is bad.
it needs a fuel pump