Look in 1 Thessalonians 5:21 “Prove or Test all things; hold fast what is good.”
Always remember this: the Bible teaches that the Spirit of God and the Word of God agree. Anytime the Spirit of God speaks to you, it will be in line with the Word.
People have heard voices and have gotten every kind of “revelation” you can imagine. So people are always claiming to hear a voice.
You can, and you should, judge these things. You can judge whether spiritual experiences are right or wrong simply by judging them by the Word.
We are not to seek voices.
We should not follow voices.
We should follow the Word of God.