The origin of using wooden stakes on vampires is as a method of restraint. You can’t kill a vampire because they’re already dead. So you found the vampire asleep in his coffin and used a stake through the body to nail them to the ground. That kept them from attacking people. Iron might have been used more than wood as it’s supposed to interfere with occult powers. The idea of killing a vampire just by stabbing it in the heart with a wooden stake was created in 20th Century movies and TV.
The origin of using wooden stakes on vampires is as a method of restraint. You can’t kill a vampire because they’re already dead. So you found the vampire asleep in his coffin and used a stake through the body to nail them to the ground. That kept them from attacking people. Iron might have been used more than wood as it’s supposed to interfere with occult powers. The idea of killing a vampire just by stabbing it in the heart with a wooden stake was created in 20th Century movies and TV.
Happy Halloween!