How can I learn how to trade Forex and stocks?

Research everything you can find on the Internet. It should take you at least a year.
Revisit those that are not bullshit. If you can’t identify the bullshitters, repeat your research until you can distinguish between the truth and the fluff.
Then start applying what you learn.
How can I not be in the 95% of Forex losers?