The word pegabas is the imperfect form of pegar in the second person singular. There are other translations for this conjugation.
See the full pegar conjugation

pegar

¿Por qué le pegabas en la cocina?
Why were you hitting her in the kitchen?
Hey, se fue porque le pegabas.
Hey, she left because you hit her.
Antes me pegabas cada día.
You used to hit me like this every single day.
Me tirabas de los pelos, me pegabas, pero no te tenía miedo.
You pulled my hair and hit me, but you didn't scare me.
Oh no, me pegabas en cada oportunidad, ¿verdad?
Oh no, I haven"t, you beat me at every chance, didn"t you?
No sabía que pegabas tan fuerte.
I didn't know you carried that much power.
Entonces, ¿por qué me pegabas?
Then why were you hitting me?
pegabas a la gente.
You were hitting people.
Le pegabas habitualmente, ¿no?
You were beating him up pretty regular, weren't you?
Te dije que si me pegabas, lo lamentarías.
I promised the next time you hit me, you'd be sorry for it.
¿Por qué le pegabas a Brennan?
Why were you battering him?
Pero supongo que es mejor que admitir que pegabas a tu novia con asiduidad.
But I guess it's better than admitting that you beat up your girlfriend on a regular basis.
¿Sí? ¿Y con qué le pegabas, con tu nariz?
And what were you hitting her with?
¿Le pegabas a tu hermana?
So you used to beat your sister.
Seguro que a tu novia también le pegabas con mucho estilo, ¿no?
I'm sure... I'm sure your girl as you with the hitting style.
Sabemos que pegabas a las prostitutas, Barry. Y sabemos lo que te gustaba hacerles.
But he's also aware of what's going on, and the stress you're under.
Pegabas a tres a la vez.
Taking care of three at once.
Le pegabas a un hombre, y el te respondía.
You'd hit a guy, he'd whack you.
Want to Learn Spanish?
Spanish learning for everyone. For free.
SpanishDict Premium
Have you tried it yet? Here's what's included:
Cheat sheets
No ads
Learn offline on iOS
Fun phrasebooks
Learn Spanish faster
Support SpanishDict