Just install the truecaller app in your phone and start running it. It will ask your permission to have access to your contacts. Grant the access. Now all your contacts will be synced. Next time if any call comes it will automatically detect the name of caller.