The link will redirect you to AOL homepage where you will get the option to modify your AOL account as per your need. Now you can log out and try to log In with your new password.
Using these steps, you can regain access to your AOL account. After resetting the password, you can try to login with the new password and check if you are able to do so from all your devices.
But in order to avoid getting into this situation in the first place, you must try not forget the login details. Instead of writing them on a piece of paper, you can use a Password Manager to secure them all at one place.