What can be advise in such situation?
unfortunately there is nothing we can do to avoid these situations.
there was some precautions to reduce the risk though. for example you should never leave your money on an exchange. withdraw as often as possible, although it makes everything a nightmare but it is a good thing.
enable 2 factor authentication.
if you have API keys, disable certain features that you don't want if the platform allows you. for example disable withdrawals, only allow making trades.