You have to learn the art of tradingEven if you are well versed there will always be a risk and that's why like profit you have to allocate some portion of your investment for lossWhich depends on your individual capacity to which extent you can write off