echar pata

Etymology
lit. 'to throw (the) leg'.

Verb

 * 1)  to have sex