Nissan Pathfinder starter

I have a 93 Nissan Pathfinder 3.0. For a couple of days now I have been hit the starter with a hammer to get it started. Will I need to replace the starter or can I remove it and clean it. What would be the easiest way, replace with new or rebuild the starter.

Any advice will be greatly appreciated.

Thank You

If you’re at the point where the starter has to be whacked with a hammer then it needs to be rebuilt or replaced.

Before replacing the starter you should verify that power is reaching the starter solenoid at the small terminal and that the starter battery cable connection is clean and tight.
With the former, what you are doing is verifying the car does not have a safety switch problem and the whack applied by the hammer is not causing the safety switch to operate due to vibration through the vehicle.

Thank you for the timely answer. Where is the safety switch located? Would it be easier to replace with new or try to rebuild the starter. I’m average when it comes to car repair.