Kolyta

So I need to pay capital gains tax on an asset I sold if I reinvest the money in another asset?