car wants to start but doesn't on 1998 Pontiac Sunfire

I put in a new battery in my car, and it won't start, but tries to. The car basically has been rebuilt. New starter installed last year and alternator.

Asked by for the 1998 Pontiac Sunfire
scan test for codes and check fuel pressure