At least here in Denmark (probably most of Europe), anything really old you dig up belongs to the state. They do pay some kind of compensation for the finder.
There are some things that are ancient but common so you can keep, like Roman or Byzantine coins, but even then, you should bring it under for review so they can either pay you the value of it and hold on to it, or give you back with confirmation saying it’s not rare and OK to keep as a keepsake.