Welcome to Fixya
Check the battery cables to make sure the hookups are not corroded. Corrosion can put a damper of the flow of electrical current and can be the entire problem. Check all terminals if they are both intact and not loose. A simple way to tell if the battery is at fault is to turn the headlights on and turn the ignition switch to start. If the lights go out, then the battery is probably at fault.
If everything looks okay, the problem may be the solenoid. The solenoid is essentially a switch that turns the starter on and off. When your car is just sitting off in the driveway, the solenoid is receiving a current from the battery, but it does not pass it on to the starter. When you flip the ignition, a small current signals the solenoid to let the current through to the starter. The starter then turns over. When you have a solenoid that is going bad, the switch can get tweaked and not let the current through correctly. Since the electrical current isn't enough to fire up the starter, the engine doesn't fire. In some cars, it just makes a click noise.
Thank you for using Fixya!
If you need further help, reach me via phone at https://www.6ya.com/expert/elixirjose_00375ea24bd8141b