1992 Chevy S-10

My car was dying when I was driving down the road, I put a new fuel filter on it,but it is still dying when I drive it,and I have to jump it to get it started now. What is the problem?