The clicking you are hearing is likely the solenoid. That said, it may not be the problem.
You need to do/try a few things.
Jump the solenoid with a screwdriver across the two battery terminals (on the solenoid). If it cranks, then your battery, starter, wires and connections are good and you need a solenoid. If it does not crank, then you likely have a power issue or a bad starter.
If no cranking, get a meter and read the voltage of the battery, then do it again while trying to crank the engine.
Post your results and we wil go from there.