If you were tried in court, there were some ways people were tried:
1) Being drowned: Victims were dragged into a body of water bounded, and accordingly, an innocent person would start sinking, while a witch would float.
2) Prayer: Witches were thought to not be able to recite any of the holy texts without breaks or mistakes, and would prove that they were a witch of some sort.
These are just some of the ways they used to prove someone was a witch.
hope this helps