What self-defense options do you have against a child?

Background: Saw a video, where a child calls some police officers racial slurs, then proceeds to spit on them. The officer then slaps him. Some lawyers claim that such use of force is uncalled for.

How about regular people? They aren’t even law enforcement; how can you defend yourself if a kid keeps harassing you.