Check all wiring on the vehicle, batter cables, fuse box assembly, all fuses, distributor and cap, wiring, and that the battery is good. Over time batteries will die even when not used. Also, put fresh fuel into the vehicle. Gas tends to go 'flat' or become 'watered down' as it sits. Yes it will still have a combustable state to it but the octane level may be too low to sustain within the engine. After trying the above, if you still have a problem, you may repost on the same topic. If you repost, please include everything you have done and attempted and the results. This will be of great help.
PS: Change the oil as well. If the oil dried up then you may have a sticky mess within the engine.
If you are pleased with my answer, accept this ticket and thank you for choosing JustAnswer.com
Kevin Cagle