Step 1 of dealing with a phone scammer - Ask them who they are trying to reach.
95% of the time, they are using a remote dial device, are just trying random phone numbers, don't use a phone list, so they probably don't have a name attached to the number they have dialed.
Step 2 - Tell them you will call them back, and hang up. Don't get the number from them, just hang up.
Step 3 - Stop answering your phone for numbers you don't know. Let them leave a message. No, the warranty company isn't calling you about the warranty on your car expiring.