User Panel
If you can't log into the user panel you can try to reset the user password from the admin panel.

Admin Panel
If your root password is not working then the only option is to reset it via shell using passwd command.

If you also don't have shell/ssh/console access then you would need to request your hosting provider to recover the root password or try to recover it by yourself using a rescue boot.