Another way you can know if you are hearing from God, is if what you are hearing agrees with the fruit of the Spirit. The fruit of the Spirit is the nature of Christ Jesus. It is found in Galations 5:22-23. It says,"But fruit of the Spirit is love, joy, peace, patience, kindness, goodness, faithfulness, gentleness, and self control. Against such there is no law. James 3:17says,:But the wisdom that is from above is first pure, then peaceable, gentle, willing to yield, full of mercy and good fruits, and without hypocristy." also, the voice of God will not condem you. Rember John 3:17, " For God did not send His Son into the world to condem the world, but that the world through Him might be saved." Romans 8:1 says, " There is therefore now no condemnation to those who are in Christ Jesus, who do not walk according to the flesh, but according to the Spirit." You see there are many voices in this world and we need to be able to recognize the right voice from the wrong voice. We need to develop a Godly discernment. I believe that we can have this discernment within us if we take time to read the bible. Remember what Jesus said, " My sheep hear My voice, and I know them and they follow me." John 10:27. And John 10:5 says,"Yet they will by no means follow a voice of a stranger, but will flee from him, for they do not know the voice of a stranger."