To protect your cryptocurrency investment when using an exchange, it's important to follow security best practices, such as enabling two-factor authentication, using strong passwords, and storing your cryptocurrency in a secure offline wallet. It is also important to investigate the security history of the exchange and take additional measures to protect your personal and financial data.