This is the 6465th most frequent Catalan word.
pegar
"To hit" or "to stick."
In this sentence, 'pegar' is used to denote the action of hitting, specifically striking something deliberately.
El nen va pegar un cop a la pilota.
The boy hit the ball.
Here, 'pegar' refers to the act of attaching or fixing something to a surface.
Pegar un cartell a la paret és fàcil si tens cola.
Sticking a poster to the wall is easy if you have glue.
In this case, 'pegar' is metaphorically used to describe an emotion strongly impacting someone.