Heat Treated gemstones

What method is used to heat treat

Also, how can a person tell if a gem has been heat treated?
Could something be seen through a 10X loupe that would give you a
clue? Or would the gem have to go to a lab?

Jan