First, check the battery terminals. If there is a lot of corrosion you might just have a poor connection. 2nd, with the engine running, check the battery voltage.
Bad battery, starting motor or both.
If the battery is bad, you may only hear clicks. It could be the starter, but I would check the charge on the battery first.
Possible battery, starter or connections/cables in between
Starter solenoid? Battery not fully charged?
Weak battery or poor connection - battery to starter. Possible bad starter.
Likely that your starting motor needs to be reconditioned/re-built
This sounds like your battery.
Try changing the starter.
Dead battery or a bad connection to the battery.
the engine will turn over but sometimes wont start. it also sometimes dies while its idling. whats going on
Battery dead
AnswerDim lights and lots of clicks is an indication of too low a charge on the battery. When jump-starting, allow the battery to be attached to the jumper cables for about 5 minutes before trying to crank the engine. If that fails, check for loose battery cables at the battery, ground, or starter. If all connections are good, then the battery is too far gone and must be replaced. Note: You need to find out why the battery discharged - did you leave the lights on? is the alternator bad?.