Investing in DeFi is risky. Here are three tips that can help investors avoid heavy losses.