To tell someone to go away in a rude or dismissive manner; equivalent to 'go to hell' or 'fuck off'.
2.
Spaininformalvulgar
To do something pointless or useless; colloquially used to indicate wasting time on a trivial or self‑gratifying activity (literal slang: to masturbate).
Examples:
ES: Si lo hacemos a mi manera los franceses podrán irse a hacer puñetas. Claro.
EN: It is thought that you went abroad to look after your mother.