Sometimes just clicks when try to start

The click is the starter relay operating properly. I would assume the fault is at/in the starter. Todays most common course of action... Off to a parts yard for a modern high torque mini starter. Just know that this type doesn't typically have the intermittent failure / warning shot conditions that us old schoolers lived with, dare I say enjoyed?. You wont hit it with a hammer and get anther start from it. They just suddenly fail completely. So.. Japanese starters are like the people, bomb you without a warning. One in my 96 camry, another in grand daughters honda odyssey, both most recent examples, failed at home in the driveway. Just lucky I guess.