you soak it in mouthwash for a while. Then, boil it, strain the water and let that dry. When it does, scrape the resin off whatever you used to strain the water, and smoke it.

But I wouldn't suggest boiling your pipe if it's glass. They can break or get brittle REALLY easy that way.