This article explains how to recover a forgotten iCloud email password or Apple ID.
How to Recover Lost iCloud Email Password
There are different steps to recover a forgotten iCloud Mail password, depending on whether you have additional security set up. You should start with these instructions:
Go to the Apple ID or iCloud sign-in page.
Select Forgot Apple ID or password? below the login fields.