How do I retrieve/change device password?

Just realized that my new device isn’t working because it remains locked. It gives me a password hint but I still am unable to supply the correct password. What do I do?
Thanks for any help!