Very rarely it can be a premonition if you recognize the person who visited or visiting you. Almost always it is the dream that reveals our need to interact with others, because we feel intimately isolated and extremely lonely.
Visits dream meaning
Read more about dreaming of Visits in other dream meanings interpretations.