Need help Firebase authentications password reset

Hello? My app stores user information in Firebase database and logins with mobile number. I want to write code so that when I click on the password reset button, a new password is sent to the mobile number. How can I solve this?

How are you interacting with Firebase authentication from your app for signup/signin/verify/otp etc.