Hi,
You would have to dispose of the property first.
Only after the disposal can a capital gains laibility be calculated.
There is a calculator at
Tax when you sell property, to help work out your gain.
It leads on to the online capital gains service, where you can report and pay any tax due, within 60 days of the completion date.
Thank you.