1997 Pontiac Sunfire wont run

I bought it off my friend and he told me it stopped running after he filled the tank up with gas so his mechanic said it was the fuel pump i bought it off him bought the fuel pump and installed it and it still wont run…

Does it turn over? If so does it cough and sputter or just crank over and over without trying to start? Have you checked for spark? All gasoline engines need three things to work. 1-fuel, 2-spark, 3-air. Assuming the engine is getting air and that you have assured that it is getting fuel then all that is left is spark. I would pull a plug wire and check for spark (carefully).

Itll start for a couple sec and then die

…Would really love to get thi thing running today…