To recover your Yahoo Mail account, go to this recovery page and enter your email address. Click Continue and you will see all the recovery options available for your account. Select the one you have access and follow the instructions.
Note: if it has been more than 12 months since you last logged in, your account may no longer exist. In this case, you will unfortunately not be to recover your Yahoo Mail account.