It is a vulgar slang term used in Spain and some Latin American countries. It can be used as an exclamation of frustration or annoyance. Also, it is a colloquial term for masturbation.
Examples
- Spanish: ¡Deja de hacer puñetas y ponte a trabajar!
- English: Stop messing around and get to work!