poner el gorro

Etymology
From. lit. 'put on the cap, hat (i.e., condom)'.

Verb

 * 1)  to commit adultery