Always remember this: "Plan your trade and then trade your plan", there's no better thing than this if you want to start your trading career. If it's a wrong trade always program your mind that the next time you do it better.
There are too many factors you are on the opposite direction and one of it is your emotion, if you let your emotion on the frontline of your trade expect things a little bit messy. Trading is planning and you need to master it day by day, even professionals still learning everyday - it's a lifelong learning.
I agree that making it a plan and sticking to it will help when the market conditions are not favourable, at least you trust yourself from before. Trading can be hard and you can lose patience but you've got to keep on and not give up, because this is what trading is about - learning fro past mistakes and trying to always come on top. Everybody goes through loses, the difference is how you decide to take that loss.