What do you think about? Ralph Waldo Emerson said, "You become what you think about all day long." What is the main thing your thought rests upon most of the time?
Whatever you think about is what you attract into your life. If you are a positive, happy person, you attract more good into your life. If you are negative, always seeing problems rather than opportunities, and look at what's wrong instead of what's right, you will have more of that in your life. Whether it's good or bad, whatever you are thinking is what you will attract.
Now, I know you don't purposefully want to attract the bad, but recognize that it is your thinking about something that is doing just that. Therefore, if you want different results than you're experiencing right now in your life, examine your thinking.
The good news is, your thinking is your most powerful tool. If you are unhappy with a job situation, you can change it with your thinking. If you feel you're drowning in debt and are consumed with bills, your thinking can turn things around. If you are thinking about debt, you only attract more of it. When you think abundance and look at what you have to be grateful for, you will attract more of that into your life. Don't see problems, see opportunities. Every challenge is an opportunity for growth because when you get through it or overcome it, you have grown and become a better you.
To change your thinking, always look for the good in every situation, every challenge, everything that at first might not seem good. Instead of getting down when something doesn't go the way you want, ask, "what else can I do instead?", "what is the good here, what can I learn?" If you look for it you will find it.
"Man, alone, has the power to transform his thoughts into physical reality; man, alone, can dream and make his dreams come true." – Napoleon Hill
Exercise your thinking faculty. The power of your thinking mind cannot be underestimated. With it you can create and live the life you only thought was just a dream.