Literal translation is 'to shit with hits', but it is a colloquial and aggressive way of saying 'to beat up someone' or 'to give someone a beating'. It is very informal and typically used in a vulgar or threatening context.
Examples
- Spanish: Si no te callas, te voy a cagar a golpes.
- English: If you don't shut up, I'm going to beat you up.