how do I find my apple id and password that I used to set up my ipad?

I updated my ipad A1458 software and it asked me for my apple ID and Password that I used to set up the ipad a few years ago. How do I find my password or reset it? I can't get into my ipad now.
Welcome to iMore

Your Apple ID is your email address. Here is a guide to help you reset your password: https://support.apple.com/en-us/HT201487

Original thread: https://forums.imore.com/threads/how-do-i-find-my-apple-id-and-password-that-i-used-to-set-up-my-ipad.358983/