What was the process to punish heretics?
Every religion deals with heresy differently.
For most religions that have terrestrial power, such as
Christianity and Islam, heretics were usually tortured and executed
along with their followers.
For most religions that have not exercised terrestrial power,
such as Judaism, heretics were usually excommunicated and avoided
since they lacked the power to actually punish them.