As far as Christianity is concerned, the question has been answered.
But "priest" is an ancient word whose origins predate Christianity. It refers to a person with authority to minister to sacred things. Today, if an anthropologist refers to a leader of an ancient religion under study, he calls that person a "priest".
The notion of "pastor" is also an ancient concept. It refers to a person who tends a flock. The word avails itself naturally to spiritual metaphors, as in Psalm 23 where Man is treated as a sheep in the flock of God. Today, "pastoral care" is used as a synonym for "spiritual care", regardless of the religion. It is true that Protestants refer to their spiritual leaders as "Pastors", and you should use that term when talking to your Protestant friends, but an anthropologist would say that 'Pastor' is merely what Protestants call their priests.