Transfer contract with fees

maybe you can study Reflect.Finance or Safemoon smart contract. theyre charging fee at transfer.

and consider this before you create erc20: