Burn token on transaction

when every person do it one transaction, I want to calculate the present amount and do another transaction to burn token from the owner