how can i stop my tank continuose running once its full?

i have a cabinet encased toilet with duel push button flush. my problem is its not stopping once the tank as refilled. and is overflowing back into the toilet
jim, June 2018