Changed crankshaft position sensor now wont start on 2001 Pontiac Grand Prix

I changed my crankshaft position sensor now my car will not start. it will crank but will not fire up. I checked using a spark test lamp, i am getting power to my spark plugs but the car will not start. i tried putting the old one back on still had the same result. What do I need to try to hopefully get my car to start?

Get Your Car Fixed at a RepairPal Certified Shop.
We certify shops based on expertise, quality work, and verified customer reviews
2 answers
scan test for codes and check fuel pressure
Then put the old one back on.