how to add the token icon in the smart contract or in etherscan if someone help me I would appreciate it
ERC20 tokens have optional metadata of name, symbol and decimals (for details see: https://eips.ethereum.org/EIPS/eip-20).
Token icons and any other metadata are not part of the specification. Each application/dapp may have a different way of setting this information.
For adding an icon to Etherscan, please see their guide:
Note you will need to verfity contract address ownership first: