This question already has an answer here:

Are there any practical halachot (not minhagim) that are a direct consequence for our concern for demons or 'evil spirits'?

marked as duplicate by Menachem, msh210 Oct 16 '13 at 4:26

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.

  • See gemara Horyios – sam Oct 16 '13 at 0:48