If you decide to provide liquidity on a decentralized exchange, you need to be aware of the risk of impermanent loss. Here's how it can affect you.