Usually scold means to tell someone they've done something wrong, in a harsh, negative way.
Calling names would be applying labels.
Among my young sons, the favorite insult was "You're a girl!" That's name-calling.
When I was seven, my girlfriend called my "Crummy." That's name-calling.
"Don't talk on the phone when you're driving your car, you moron!" This sentence contains both scolding and name-calling.
I hope you see the difference now.
Student or Learner