There’s no single answer to this question. Your taxes will depend on your location, how long you’ve held your crypto, the type of activity you’re doing, and other factors. In general, you’ll probably need to pay taxes or offset losses for selling but not when you buy.
Taxes in cryptocurrencies aren’t always simple. As a fairly new asset, tax authorities are still developing crypto regulations. However, it’s your responsibility to keep track of your taxable gains and losses and pay the right amount of tax, according to your country’s regulatory framework.