Dale Carnegie used to say, "For most people, their own name is the sweetest and most important sound in any language." By remembering the other person’s name, you show the them that they are important to you, that you like them. If you don’t remember their name, it’s like saying, “I don’t care about you.” Well, you don’t want to give such an impression of yourself, don’t you?
Commit yourself to remember names.
Decide that from now on you will start doing something in this direction.
Focus on greeting someone.
You need to be present at the moment.
Repeat their name as soon as possible.
You can repeat names in many different ways. For example, immediately use the given name.
Create images that include associations of the name with an object or event.
Don't be afraid to ask them to repeat their name if you forgot for some reason.