Is my fuel pump going out? on 1998 Dodge Stratus

How do I know if my fuel pump is going out? I tried to turn my car on after I put fuel in it and it wouldn't start. It sounded like it wanted to start, but didn't. I could smell gas as I tried to start my car. Someone came up banged on my fuel tank and it started right up.

Asked by for the 1998 Dodge Stratus
Fuel pump is probably failing as the banging temporarily fixed it but it will go out again
You need a shop to diagnose this and You can get that price here and locate a repair shop here