hey, luckily you have asked this question in the buddhist
forum.
1) My dharma teacher has a disciple which has similar problem.
Sometimes, she will see some hands crawling in front of her.
When she asked him about how to solve this. His reply is simply
"calm yourself down and look at it". She did that, and the unknown
hands just disappear hereafter.
2) There are many other ways also, like what AEN has said, to share
merits and of good deeds with them.
3) Another way is chanting mantra, for me, I will chant "da2 bei1
zhou2", if on urgency that you can't bring a book to chant the
whole mantra which is rather long, nevermind, chant the essence of
it "om vajra dharma hrih", this mantra is very powerful.
Remember this mantra is not supposed to chase them away, but rather
teach them to be good or even convince them to become
buddhist.
If your intention is to chase them away, that won't solve the
problems from root, they might come back again. Spirits can feel
your intention. Who knows, they might be your parents how many
kalpas ago, pity them and help them.
4) Another way is keep your 5 precepts, it is said that buddhist
who keep 5 precepts will always be protected by dharma protectors.
Hence, no need to worry at all.
5) Or you can go and ask a monk for help, sometimes just by talking
with an enlightened monk, you will find that the next day, your
problems are solved already.
I am looking forward to hear you happily solving this
problem.
Jus to share with you all, the HDB flats sometimes got the sound
like someone playing with marble, my friend told me that the
marbles are placed during construction so that the spirits will
play the marble instead of the residents. Don't know is it true or
not. Next time when you hear this, chant a mantra and see
how.