The short answer is through Interface
.
But also you can take reference in TEP62(NFT Standard) https://github.com/ton-blockchain/TEPs/blob/master/text/0062-nft-standard.md
And also check my Tact code https://github.com/howardpen9/nft-template-in-tact