Do you mean won't crank or won't fire up.
Lets address the latter.
If you have no codes....then start with the basics.
You need air, spark, fuel, or a no go situation arises
If it won't fire up check for spark and fuel pressure first.
Get a spark tester. if not then..
Get a screwdriver...