Almost everyone fails when they start trading, it is no big deal just be careful not to risk your lunch money.
I think the most important aspect of trading is psychological rather than technical. Research the psychology of trading and how to leave your emotions out of your trades. second comes all the other theories and techniques in analyzing the market trend such as Technical analysis, Fundamental analysis, and Cyclical analysis. I am sure you will find a ton of material on those topics on the Internet.