Paying off a closed account

I have two accounts that closes and I want to make sure if I have to pay  or not