Hello and thank you for choosing Just Answer.
You may have tripped the fuel cut off switch (also known as intertia switch).
It is located behind the passenger's side floor molding. Just look at the plastic covers under the dashboard, near the floor on the passenger side. (About where the passenger's right foot would be while sitting in the car). There is usually an access panel, or a hole cut out to access the reset switch.On top of the inertia switch, there is a bright red button, make sure it is fully depressed.