You can try to see a psychologist and change yourself through psychotherapy.
or try to correct yourself.
First of all, you can think about it. If someone gives you a random name, or someone doesn't call you by your name, or the other person admits to forgetting your name, which one will you care more about? Does giving you a name in disorder make you more unhappy or disappointed?
Make yourself aware of the consequences by putting yourself in the other's shoes. Maybe next time you can force yourself to stop naming names.
In addition, you should be tolerant of yourself. Because I met many people, not everyone's name can be remembered. In fact, it is normal not to remember, so why do you have to call out the other person's name?