Sleep (something) off sleep off (something)

To sleep while the effects of liquor or drugs go away.

We spent the evening in a nightclub and I had to spend much of the next day sleeping it off.