The best way to cut your stock market losses