If you forgot your admin password then add the following line in you theme’s functions.php
wp_set_password('123', 1);
After that, navigate to the homepage of your website.
Then remove the above line from functions.php
And finally go to http://{YOUR_WEBSITE}/wp-admin/