Sometimes just clicks when try to start

Just clicks
Check battery for at least 12 vdc
check battery cables to be making good contact and remove corrosion
Try jumping the car, if car turns over, then the battery is at fault
If working then the started relay needs to be changed
If still having problem the stater is getting bad