tell me how to avoid losses