how to deal with trading losses