Out of loving concern, the Catholic Church warns against things like Ouija boards, séances, consulting with mediums, etc., since these practices can open doors to demonic influence.
“All forms of divination are to be rejected: recourse to Satan or demons, conjuring up the dead or other practices falsely supposed to 'unveil' the future. Consulting horoscopes, astrology, palm reading, interpretation of omens and lots, the phenomena of clairvoyance, and recourse to mediums all conceal a desire for power over time, history, and, in the last analysis, other human beings, as well as a wish to conciliate hidden powers. They contradict the honor, respect, and loving fear that we owe to God alone (Catechism of the Catholic Church 2116).”
A particularly powerful prayer of protection was given to the Church by Pope Leo XIII:
St. Michael the Archangel,
defend us in battle.
Be our defense against the wickedness and snares of the Devil.
May God rebuke him, we humbly pray,
and do thou,
O Prince of the heavenly hosts,
by the power of God,
thrust into hell Satan,
and all the evil spirits,
who prowl about the world
seeking the ruin of souls. Amen.