One is to carry a handful of new rice with you and sprinkle a pinch of rice upside down when you enter the door.
Walking at night, try not to walk near cemeteries, hospitals and funeral homes, and don't go to places where you feel uncomfortable. These places are prone to dirty things.