New computer, now I can't post new pictures on FB. Says my password is incorrect. I am already on. How can I set a new password?

tried to send a photo from my photos and the site says I need to enter my name and Facebook password. I am already on Facebook. Won't take my info. can I set a new password?
Why would you do that? Can you not upload the photo from within Facebook instead of from within the Photos app?

Original thread: https://forums.imore.com/threads/new-computer-now-i-cant-post-new-pictures-on-fb-says-my-password-is-incorrect-i-am-already-on-how-can-i-set-a-new-password.336921/