Step 1 : Focus on your goal ( project) because your energy will go to him:
Focus on what you want, not about what you do not want, and when you say to yourself that you will make a successful project ( there become a positive energy (+) inside you), then your focus will follow your thinking.
Good note on focusing on the positive side of things instead of the negatives (which i find myself doing sometimes, and negative energy can sometimes drain you, a little unavoidable at times, but its good to be self aware).
I'd like to add choosing the right market. Too many times, people who work on something that lacks proper demand, and despite having a good team, the project fails.