Ignoring losses is not the solution. Rather, try to embrace the loss, understand where you have gone wrong, so that the same is not repeated in future.
I agree on that. The best way to test your trading strategies without the fear of losing funds; demo trading it is. Everyone should use a demo account before going in for live trading.