In Judaism nothing comes free. If you want something you need to work for it. Not every ignorant fool gets to become a prophet.
I recall seeing a source that mentioned that during the era of prophecy there were actual schools that taught how to become a prophet, but I can't recall where that source is. But there are plenty of requirements for a person to fulfill in order to be able to reach a state where he's worthy of receiving prophecy.
Here are the
requirements according to Maimonides (garnered from the Talmud). Here is
a book based on a list of traits a person needs to attain prophecy mentioned in the Talmud.
The author of the latter book writes in a different work. (Translation mine):
However, the students will learn about prophecy in known matters, how to pull onto themselves the Upper Flow and to negate the physical body's impediments. And he will pull a revelation of the Light of G-d and attachment to Him.... And according to the extent they were worthy in their deeds and in becoming purified and carried on in these matters that is [the extent] they will come closer to G-d and the Flow will start to flow onto them and they will attain greater and greater comprehensions until they reach prophecy. And the established prophet who already knows the correct ways to prophecy will teach each one according to his preparations, what he should do to attain the desired goal (of prophetic vision). And so when the revelations will start on them [the students], the prophet will teach them according to matter of the revelation that is being revealed and what is still missing from the goal they desire (ie. prophecy). And behold, they will need a teacher and guide until they have clarity of complete prophecy. Because even though the revelation and flows already started on them, its not that which will bring them to the end of the matter immediately. Rather they will need much guidance to arrive at the end (of acquiring prophecy) correctly, each person according to his level and preparation.