Hi,
You would need to discuss this with a solicitor.
Once done you will then need to report any gain made on the property within 60 days.
Please see the following link :
Tax when you sell propert, this gives guidance on possible Capital Gains Tax if you make a profit (‘gain’) when you sell (or ‘dispose of’) property that’s not your home.
Thank you.