1. A lighthearted and humorous alternative to either "Get fucked" or "Go to hell". Literally, "Leave now, and sometime in the near future find and participate in an act of sodomy."
2. To enter an unfavorable situation.
"You don't like it? Go to buggery."