1. Used when a guy is boasting or is too full of himself, to tell him he needs to get real and be more modest.
2. Used when a guy is too horny, to tell him he needs to cool down and stop thinking about sex. Cf. "take a cold shower".
(1)
I could pick up in 5 seconds every chick in the club!
Dude, put the dick away. That's too much!
(2)
Boy: You look so sexy tonight, wanna follow me to the restroom?
Girl: Put your dick away, you're sicko!