You might be able to recover your account information, if Yahoo still has it available. Start by visiting the Yahoo account recovery page. Enter your backup/recovery email address or phone number and click Continue.
If your recovery information is valid, Yahoo will send a recovery code that you can use to try to regain access to your account. You then can attempt to delete the account information.
If your recovery information is not valid, it is possible that Yahoo already deleted your account.