The advice I've heard, and that I believe is true, is to cultivate loving kindness (maitrî) and invite the spirit to nourish itself from your loving kindness. No matter how much it drinks your loving kindness you won't be depleted. It's a deep well that goes beyond you in particular. And the spirit will become friendly towards you, and maybe go somewhere else. This is what I believe anyway. I wish you the best.