You can learn how to trade forex for free by having a practice account. This is because trading with virtual money allows the trader to put their training into practice without having to risk any real money. Since learning and practising your craft extensively is a prerequisite for success in any field, this also holds true for Forex traders. You must be confident opening, changing, and closing trades as necessary before moving on to live trading with real money. The last thing you want is to become anxious because you don't know how to exit a trade.
Many emotions can be present when putting money at risk in order to make money. In order to create a routine and plan around dealing with these emotions, trading on a Forex demo helps you identify them. It's probably best to find out without putting any real money at risk because most beginning traders are unsure of the emotions they will experience when winning and losing.