Being burned at the stake was a common punishment for heretics.
Contrary to common belief, very few witches were burned at the stake. Most of them were killed by hanging, or died during their trial from torture or drowning, etc.