I received a 1099 DIV that shows capital gains on a stock I bought in 2017 and still own. I thought you paid capital gains when you sold stock? True?