Thanks for your question
First - any gift you were to make, would then have to see you survive 7 years for it to be NOT considered for Inheritance tax, and I assume this is your main home - so would not give rise to capital gains tax as a result of the transfer.
This would be known as a potentially exempt transfer.
All you would have would be legal costs to have the deeds changed to reflect the gifting and change of ownershipm which you do via land registry and would cost about £1000 (although a conveyancer can hanfdle this for you, but then you would have their fee on top of that)
However - if you continue to live here - then unless you pay market value rent to your sons - then the gift is treated as a gift with reservation - and this means that it is NOT disreagrded for Inheritance tax - no matter how much time passes, plus you could find you are liable to pre owned aset tax also.
So make sure if you proceed with this gifting that you do pay market value renmts to your sons.
Another option is to place the property in trust - again if this is currently your man resdience then no capital gains in placing this into trust, but you must make sure that you choose a trust that serves you well both short and long term, so do seek independent fiancial advise - but I have added a link here regardinmg the types of trusts there are and how they opeate and the tax positions for each.
Let me know if I can be of any furtehr assistance