Tips to Avoid Liquidation

Monitor your Safety Buffer. It tells you how close you are to potential liquidation. Once it reaches zero, you can be liquidated.
Farm less volatile assets. If you are farming stablecoins, liquidation is extremely unlikely. Farming less volatile high marketcap assets is also safer than farming altcoins. But usually, higher risk assets will have higher APYs.