han pegado

they have hit

→ haber
phrase Uncommon #12,608
they have hit Pegar means “to hit” here. When the person is the object, Spanish uses a before them: han pegado a alguien.
SP: Los niños han pegado a su hermano.
EN: The children have hit their brother.

Se me han pegado esos versos estúpidos.

Those stupid lines are stuck in my head.

— Cuando pasan las cigüeñas (1957)

Mira cómo le han pegado.

Look at how badly they’ve beaten him.

— हम दिल दे चुके सनम (1999)

Sí, le han pegado.

Yes, he has been beaten.

— Dil se.. (1998)

Con el jaleo de esta noche, no han pegado ojo.

With all the commotion tonight, they haven't slept a wink.

— El orfanato (2007)

¿Todos estos se la han pegado con el coche?

Have all of these people crashed their cars?

— El salario del miedo (1953)

Lo siento, pero se me han pegado las sábanas.

I'm sorry, but I overslept.

Me han pegado un tiro.

I've been shot.

Me han pegado.

I've been beaten up.

— Carandiru (2003)

Los guardas han pegado a Bosch.

The guards have hit Bosch.

— El experimento (2001)