Matter of technique.

Pull your tongue up a bit when you take a hit so ash and some of the heat is absorbed before the smoke gets to your throat. And also hold the smoke in your mouth before inhaling all the way to cool it down a bit.