One of the keys, I think it would be fair to say, would be to be absolutely sure you heard the voice.
Second, be absolutely sure that it did not, for example, come from someone in the house or place you are staying.
It's not that I do not believe God speaks in an audible voice sometimes. I do...