Prophets in the Bible were people who heard the voice of the Lord and were responsible for relaying His words to others. False prophets are either prophets of a false god (an idol) or those who claim to speak for the true God but do so falsely. We see examples of false prophets throughout the Bible. God reveals that there are significant consequences for false prophets who lead people astray.
We must be diligent in studying the truth ourselves so we can spot false prophets. Yes, they will give an account for where and how they are leading people astray, but we can also do a lot to prevent ourselves from becoming led astray. The best way to recognize a falsehood is to be well-versed in the truth. We can combat the danger of false prophets by looking to God as the source of truth and comparing all we hear to what He actually says in His Word (the Bible). We can all follow Paul's advice to Timothy: "Do your best to present yourself to God as one approved, a worker who has no need to be ashamed, rightly handling the word of truth" (2 Timothy 2:15).
We must be discerning, testing what we hear proclaimed by others. John gives us a good test for false prophets: "Beloved, do not believe every spirit, but test the spirits to see whether they are from God, for many false prophets have gone out into the world. By this you know the Spirit of God: every spirit that confesses that Jesus Christ has come in the flesh is from God" (1 John 4:1–2). Anyone who is truly speaking the words of the Lord will proclaim Christ's death and resurrection first. What they prophesy will come to pass, their teachings will be in accordance with Scripture, and their ministry will result in changed lives and the spreading of righteous living. These are teachings and truths we can believe and hold onto.