It depends on the tax laws applying to the country that your inheritance is coming from.
It also depends on whether the person who died was a UK resident and where they were domiciled for UK tax.
This can become complex very quickly.
It is possible for assets to be taxed twice.
The best way to manage this complexity is to plan ahead before death.
But if you find yourself inheriting from overseas, particularly if you are responsible for administering the estate, it is best to seek specialist advice before doing anything.