As they're no evidence of existence or not existence of ghosts or whatever, we can just suppose. So, in the case it exists, take the mesure for it. If what you isn't a spirit, try to take yourself by the hand and handle what happened, hallucination, bad joke or anything. Be brave, whatever it is; try to enforce your might.