What should I do if I forget the names of my friends and children? My friend said it once, and I forgot. Really, it's better to ask politely

Children who can't talk are called children, and those who can talk are called children. Next time we meet, ask the child specifically, what's your name, little guy? Generally speaking, children who can't talk will be answered by their parents. My name is XXX, and children who can talk can answer by themselves. Then you will know and avoid embarrassment.