I forgot my icloud password and security questions?

I need to give my phone for service there they are asking password but I don't remember please help me
Welcome to iMore.

Here is a guide by Apple on how to reset your passcode. Here is a guide by Apple on how to recover your Apple ID. Not sure why they would not have instructed you on how to do it though.

Original thread: https://forums.imore.com/threads/i-forgot-my-icloud-password-and-security-questions.376171/