How to enter canadian income from capital gains tax

i paid canadian capital gains in 2022.  Now i received a refund in 2023