No need to say, cut the battery before you work on the starter motor. It is very high intensity current and can be a serious hazard
As said in other posts, clean the battrey connections, clean the solenoid connection and the earth band going to the chassis rails and engine