Summary:

To defend against enemy Missionaries or Great Prophets trying to convert your cities, buy an Inquisitor. These units can be stationed in a city to protect it from conversion. In addition to this passive ability to block competing Religions, Inquisitors can be expended when adjacent to one of your cities to actively remove the presence of all other Religions from your city.