A clicking noise when trying to start your car and no engine ignition usually indicates a battery problem. Either the battery is discharged or the connections are faulty. If the battery and the connections are functional, then the starter might have failed.
If your headlights can switch on, but your car won’t crank, that means that your car battery is charged, but either the starter or ignition is the issue. If the starter or ignition is the problem, a starter engine can be jumped by using a charged battery.