The Ramchal teaches us about false prophets. Sometimes people are false prophets intentionally and other times false prophecy occurs simply to test those who will find themselves listening to those people.
Whatever the case, those who wanted to be prophets would have to make sure they had an experienced teacher to lead them on a path that would be pure.