Fear and its remedy

How do negative thoughts seep into my mind? Why do I envision only bad things? Where does this thought of…